Skip to main content
Anchor to automationWorkflowDeactivate

automationWorkflowDeactivate

mutation

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

Deactivates a specific automation version and cancels its runs. An action already executing may still finish.

•ID!
required

The ID of the automation to deactivate.

•String!
required

The version to deactivate. Deactivating an inactive version succeeds without making changes.


Was this section helpful?

Anchor to AutomationWorkflowDeactivatePayload returnsAutomationWorkflowDeactivatePayload returns

•AutomationWorkflow

The automation version after deactivation. Returns null if an error is raised.

Show fields
•[AutomationWorkflowUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?