Create a new auth server claim
Changed onCreate a new claim for a given auth server. The name attribute will appear in the JWT access token as a claim with the given case-sensitive name. The value attribute will be used to populate the claim value in the JWT access token. The value can be templated, which allows you to use variables like ${ uuidv4 } to generate dynamic values. Claim values are hydrated based on their types, which may include JSON.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/auth-servers/{authServerId}/claims
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Response
A claim
Example response
{
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- warning
added the new
typeenum value to the///////response property for the response status
- warning
- breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status
- breaking