Archive a template

View as Markdown

Archives a draft or active template. Archiving refuses nothing — pinned actions keep rendering retained versions. Requires playbook:create.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

idstringRequired

Response

The archived template.
templateobject

Errors

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