Delete a template

View as Markdown

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

idstringRequired

Response

The template was deleted.
okboolean

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error