cURL
curl --request PATCH \ --url https://your-instance.example.com/api/workflows/{id}/toggle \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "enabled": true } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workflow toggled successfully
Generic response envelope. Endpoint-specific fields are intentionally open.