Unarchive an action definition

View as Markdown

Restores an archived definition to draft (and un-archives its action-scoped template/form). Activation re-runs the output gate; a re-taken slug is refused.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

Response

The restored definition.
definitionmap from strings to any
An arbitrary JSON object.

Errors

401
Unauthorized Error
404
Not Found Error