Activate a template

View as Markdown

Transitions a draft template to active. The bound record type must still resolve and the recomputed lint snapshot must carry zero errors. Requires playbook:create.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

Response

The activated template.
templateobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error