Skip to main content
PATCH
/
api
/
v1
/
workflows
/
{workflow_id}
/
toggle
Toggle Workflow
curl --request PATCH \
  --url https://api.example.com/api/v1/workflows/{workflow_id}/toggle
{
  "id": "<string>",
  "account_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "trigger_type": "<string>",
  "trigger_config": {},
  "steps": [
    {}
  ],
  "enabled": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>"
}

Path Parameters

workflow_id
string
required

Response

Successful Response

id
string
required
account_id
string
required
name
string
required
description
string | null
required
trigger_type
string
required
trigger_config
Trigger Config · object
required
steps
Steps · object[]
required
enabled
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
created_by
string | null
required