Set New Client Secret via Owner Client Rotation By Organization ID And Application ID
DescriptionOnce a ’newClientSecret’ is set, both the old and the new secret can be used.
Important:
1.The old client secret will be expired after 48 hours.
2.Changing the client secret via the client management APIs will reset existing secret rotation (meaning, the provided secret in the management APIs will be the only valid secret).
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Developer | ✔️ | ✔️ |
Request
URLURL
Path Parameters
Path Parameters
Unique identifier (GUID) of the organization.
The unique identifier of the OAuth Application (client).
Request Body
{
"newClientSecret": "string"
}
The new secret of the organization OAuth Application.
The secret rotation expiration in seconds. The old OAuth Application secret will expire after it. If not specified, the default expiration time is 48 hours.allowEmptyValue: true
Authentication
Errors
Errors
Invalid request body
The user is not authorized to use the API
The user is forbidden to use the API
The requested resource could not be found
The request could not be processed due to a conflict
The user has sent too many requests
An unexpected error has occurred while processing the request