JWT Templates allow you to generate custom authentication tokens tied to authenticated sessions, enabling you to integrate with third-party services.
[- {
- "object": "jwt_template",
- "id": "string",
- "name": "string",
- "claims": { },
- "lifetime": 0,
- "allowed_clock_skew": 0,
- "custom_signing_key": true,
- "signing_algorithm": "string",
- "created_at": 0,
- "updated_at": 0
}
]
Create a new JWT template
Success
Request was not successful
Payment required
Invalid request parameters
{- "name": "string",
- "claims": { },
- "lifetime": 30,
- "allowed_clock_skew": 300,
- "custom_signing_key": true,
- "signing_algorithm": "string",
- "signing_key": "string"
}
{- "object": "jwt_template",
- "id": "string",
- "name": "string",
- "claims": { },
- "lifetime": 0,
- "allowed_clock_skew": 0,
- "custom_signing_key": true,
- "signing_algorithm": "string",
- "created_at": 0,
- "updated_at": 0
}
Retrieve the details of a given JWT template
Success
Resource not found
{- "object": "jwt_template",
- "id": "string",
- "name": "string",
- "claims": { },
- "lifetime": 0,
- "allowed_clock_skew": 0,
- "custom_signing_key": true,
- "signing_algorithm": "string",
- "created_at": 0,
- "updated_at": 0
}
Updates an existing JWT template
Success
Request was not successful
Payment required
Invalid request parameters
{- "name": "string",
- "claims": { },
- "lifetime": 30,
- "allowed_clock_skew": 300,
- "custom_signing_key": true,
- "signing_algorithm": "string",
- "signing_key": "string"
}
{- "object": "jwt_template",
- "id": "string",
- "name": "string",
- "claims": { },
- "lifetime": 0,
- "allowed_clock_skew": 0,
- "custom_signing_key": true,
- "signing_algorithm": "string",
- "created_at": 0,
- "updated_at": 0
}