DELETE/jwt_templates/{template_id}

Delete a JWT template

Deletes a JWT template by its identifier. Use template_id to select the template to remove. The response indicates whether the template was deleted.

1 parameter
template_idstringrequired
The unique identifier of the JWT template to delete.

3 status codes
200Returns a deletion object with the deleted object's type and a `deleted` indicator.
objectstringrequired
idstringoptional
slugstringoptional
deletedbooleanrequired
external_idstringoptional
403Returned when authorization is invalid.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
404Returned when the requested JWT template is not found.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional

Error handling

A 403 is returned when authorization is invalid, and a 404 is returned when the template is not found. The template_id path parameter must identify the JWT template to delete.