Activate or Deactivate an Automation

Activates or deactivates the given automation.

A request to activate an automation that fails validation (e.g. it has
no end node, or no active trigger) returns a 400 whose hint directs you
to resolve the issue in the Zylo platform — the underlying validation
detail is not surfaced, since it isn't actionable via the API.

Required Permissions

automations

Rate Limit

limited

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
enum
required

The two states an automation can be set to via
PATCH .../automations/{automationId}/state.

Allowed:
Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json