Create a new client secret
Changed onCreate a new client secret for a given client. Multiple secrets can be active simultaneously for a single client.
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
Request body
The OAuth 2.0 client secret
Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.
Example request
{
"secret": "YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae"
}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
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 - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking