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
- info
the
enabledrequest property default valuetruewas removed
- info
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
1 more change in this revision
- breaking