Use the PUT /oauth/clients/{{oauthClientId}}/clientAuth/clientSecret endpoint to update the client secret of an existing OAuth client.

Path parameters

Parameter Value Description
oauthClientId string(required) ID of the client.

Status codes

Code Reason
200 Client updated.
400 The request was improperly formatted or contained invalid fields.
403 PingFederate does not have its OAuth 2.0 authorization server role enabled. Operation not available.
404 Resource not found.
422 Validation error(s) occurred.

ClientSecret - Client secret.

Property Type Description
encryptedSecret string For GET requests, this field contains the encrypted client secret, if one exists. For POST and PUT requests, if you wish to reuse the existing secret, this field should be passed back unchanged.
secret string Client secret for Basic Authentication. To update the client secret, specify the plaintext value in this field. This field will not be populated for GET requests.