Skip to main content

Toggle Workflow

POST 

/api/automation/workflows/:workflow/toggle

Toggle a workflow between published (trigger live) and disabled (trigger paused). Only workflows in one of those two states can be toggled - draft workflows must be published first.

Required scope: settings:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Path param: workflow = workflow id.

Returns 422 with the graph errors when publishing a workflow whose graph is invalid.

Request​

Responses​

OK

Response Headers
    Content-Type