Bad Request
Internal server error
This returns a setting value by the Identifier
curl -i -X GET \ 'https://app.harness.io/ng/api/settings/{identifier}?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal server error
This contains a list of Settings
curl -i -X GET \ 'https://app.harness.io/ng/api/settings?accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&category=CD&group=string&includeParentScopes=true' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
List of update requests for settings
Bad Request
Internal server error
This updates the settings
[- {
- "identifier": "string",
- "value": "string",
- "allowOverrides": true,
- "updateType": "UPDATE"
}
]
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}