Delete a template
Permanently deletes a template and every retained version object — only when no generation action, fill action, or playbook form task references it. Requires playbook:create.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
id
Response
The template was deleted.
ok
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error