Archive an action definition
Archives a draft or active definition (and cascades to its action-scoped template/form). Archive is the only way to retire a definition — there is no delete.
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
id
Response
The archived definition.
definition
An arbitrary JSON object.
Errors
401
Unauthorized Error
404
Not Found Error