Update a client secret
Changed onUpdate a client secret for a given client, such as enabling or disabling the secret.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The auth server ID
The OAuth 2.0 client ID
The client secret ID
Request body
Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.
Response
A Client Secret item
The client secret. The secret value is only returned when creating a new secret item.
The ID of the client secret
Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.
The OAuth 2.0 client secret
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"secret": "YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
the
enabledrequest property default valuetruewas removed
13 more changes in this revision
- breaking