POST
/v1/mgmt/jwt/update

Updates a JWT with custom claims, using a valid management key.

This API endpoint will update a JWT with custom claims. This endpoint takes the JWT as well as the customClaims json.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/jwt/update

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

jwtstring

customClaimsobject

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/jwt/update" \
  -d '{
  "jwt": "string",
  "customClaims": {}
}'

{
  "jwt": "string"
}

Was this helpful?