API Reference/Management/Users
POST
/v1/mgmt/jwt/update

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
jwtstring
customClaimsobject
refreshDurationinteger
Format: "int32"
curl -X POST "https://api.descope.com/v1/mgmt/jwt/update" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "jwt": "string",
    "customClaims": {},
    "refreshDuration": 0
  }'

OK

{
  "jwt": "string"
}

Was this helpful?