API ReferenceManagementJwt Templates
POST
/v1/mgmt/jwt/templates/library/load

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

id?string

Load a single library entry by id, including the full claim body — required before applying.

curl -X POST "https://api.descope.com/v1/mgmt/jwt/templates/library/load" \  -H "Content-Type: application/json" \  -d '{}'
{  "entry": {    "id": "string",    "name": "string",    "description": "string",    "template": {},    "tags": [      "string"    ],    "authSchema": "string",    "type": "string",    "conformanceIssuer": true,    "autoDCT": true,    "enforceIssuer": true,    "emptyClaimPolicy": "string",    "overrideSubject": true,    "issuerType": "string",    "omitCustomClaimsFromDSR": true,    "addJti": true,    "excludePermissions": true,    "experimental": true,    "logoLight": "string",    "logoDark": "string"  }}
export interface Response {entry?: JWTTemplateLibraryEntry}/** * Library entry — read-only starter shipped by Descope. Mirrors the `key` *  fields of JWTTemplate plus library-only metadata. */export interface JWTTemplateLibraryEntry {id?: stringname?: stringdescription?: stringtemplate?: {}tags?: string[]authSchema?: stringtype?: stringconformanceIssuer?: booleanautoDCT?: booleanenforceIssuer?: booleanemptyClaimPolicy?: stringoverrideSubject?: booleanissuerType?: stringomitCustomClaimsFromDSR?: booleanaddJti?: booleanexcludePermissions?: booleanexperimental?: booleanlogoLight?: stringlogoDark?: string}
Was this helpful?