/v1/mgmt/jwt/templates/deleteAuthorization
Descope Project ID and Management Key Project ID:Management Key as bearer token.
In: header
Request Body
application/json
Delete a JWT template by id. The project's default templates are restored where this one was referenced.
curl -X POST "https://api.descope.com/v1/mgmt/jwt/templates/delete" \ -H "Content-Type: application/json" \ -d '{}'Create JWT Template POST
Create a new JWT template. Strict validation runs first — if it fails, the response carries a list of `ValidationIssue`s with stable codes (RESERVED_CLAIM_KEY, NAME_MISSING, …) and the template is not saved. type must be "user" or "key". authSchema in {default,tenantOnly,none}. issuerType in {legacy,inbound,federated}. emptyClaimPolicy in {none,nil,delete}. The `template` field is the JSON object whose keys are claim names.
List JWT Template Library POST
List the curated JWT template library Descope ships — starter templates with documented use cases, optional logos, and `experimental` flags.