Skip to main content
PATCH
/
api
/
v1
/
automation
/
{automationId}
/
toggle
curl -X PATCH "https://your-collabase.ch/api/v1/automation/auto-abc123/toggle" \
  -H "Authorization: Bearer cba_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "isEnabled": false }'
{ "id": "auto-abc123", "isEnabled": false }

Path parameters

automationId
string
required
The automation to toggle.

Request body

isEnabled
boolean
required
true to enable, false to disable.
curl -X PATCH "https://your-collabase.ch/api/v1/automation/auto-abc123/toggle" \
  -H "Authorization: Bearer cba_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "isEnabled": false }'
{ "id": "auto-abc123", "isEnabled": false }