clerk.update_jwt_template
ActiveTool of Vee3
declared in 1.27.1
Update an existing JWT template in a connected Clerk application. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Returns the updated template summary. Cost = 8 tokens.
Parameters schema
{
"type": "object",
"title": "update_clerk_jwt_templateArguments",
"required": [
"template_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"default": null,
"description": "Optional new unique template name."
},
"claims": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Claims",
"default": null,
"description": "Optional new JWT claims template as a JSON object."
},
"lifetime": {
"anyOf": [
{
"type": "integer",
"maximum": 315360000,
"minimum": 30
},
{
"type": "null"
}
],
"title": "Lifetime",
"default": null,
"description": "Optional new token lifetime in seconds (30–315360000)."
},
"signing_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Signing Key",
"default": null,
"description": "Optional custom signing private key."
},
"template_id": {
"type": "string",
"title": "Template Id",
"description": "Clerk JWT template id (jtmp_...) to retrieve, update, or delete."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
},
"signing_algorithm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Signing Algorithm",
"default": null,
"description": "Optional custom signing algorithm."
},
"allowed_clock_skew": {
"anyOf": [
{
"type": "integer",
"maximum": 300,
"minimum": 0
},
{
"type": "null"
}
],
"title": "Allowed Clock Skew",
"default": null,
"description": "Optional new allowed clock skew in seconds (0–300)."
},
"custom_signing_key": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Custom Signing Key",
"default": null,
"description": "Optional flag to enable or disable a custom signing key."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries