User Setting
This contains APIs related to User Settings as defined in Harness
This is the Identifier of the Entity
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
This returns a user setting value for given Identifier
GET /gateway/ng/api/user-settings/{identifier}?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Group Id of the setting
Bad Request
This is Failure entity as defied in Harness
Internal server error
This contains a list of user settings
GET /gateway/ng/api/user-settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Identifier of the Setting.
Value of the setting
Type of the update operation. When update type is RESTORE, field [value] is ignored
Bad Request
This is Failure entity as defied in Harness
Internal server error
This updates the user settings
PUT /gateway/ng/api/user-settings?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 88
[
{
"identifier": "text",
"value": "text",
"updateType": "UPDATE",
"enableAcrossAccounts": true
}
]{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
This contains a list of user settings
GET /gateway/ng/api/user-settings/get-user-preferences?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?