Update Workflow Status
Limited availability. The workflow API is currently enabled for selected sub-accounts only; any other sub-account receives 403 WORKFLOW_API_NOT_ENABLED_FOR_LOCATION.
Publish a workflow or send it back to draft. Publishing validates the definition in full and activates the triggers; a definition that fails validation is rejected with 422 and the workflow stays as it was. Locked and scheduled-paused workflows cannot change status and return 409.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
workflows. publishOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version. Send v3.
v3v3Path Parameters
Workflow ID
b1b0de82-3efb-4d63-83f6-13c50aef208cQuery Parameters
Sub-account (location) ID the workflow belongs to
ve9EPM428h8vShlRW1KTBody
Target status. Publishing validates the full definition first and activates the triggers; a definition that fails validation is rejected with 422 and the workflow stays in draft.
publisheddraftpublishedResponse
Status changed
Workflow ID
b1b0de82-3efb-4d63-83f6-13c50aef208cThe status the workflow now has
publisheddraftpublished