Skip to main content
PATCH
Toggle workflow enabled state

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
enabled
boolean
required

New enabled state. When false, the trigger system skips this workflow even when conditions match.

Response

Workflow toggled successfully

Returned by create/update/toggle. Wraps the resulting WorkflowDocument plus a status message.

success
enum<boolean>
required
Available options:
true
message
string
required
data
object
required

A Workflow document — visual builder canvas (nodes + edges) plus enabled flag and metadata.

Example: