automationBulkDeleteRules
Permanently deletes a batch of automation rules and their execution history.
Runs asynchronously: returns a process_id immediately and reports the outcome
through the process_status_updates subscription. A background job deletes each
rule independently; a rule that does not exist counts as a skip, and one that
cannot be deleted is recorded with its reason without stopping the rest. The
process closes as finished or failed with per-rule counts. See automationDeleteRules
for the single-rule behavior.
Business Rules
- Between 1 and 50 IDs per call.
- Each rule must belong to the current company, must not be ACTIVE, and must not have executions in progress; otherwise it is reported as failed.
Error Scenarios
- **
BAD_REQUEST**: when no IDs or more than 50 IDs are given.
Permissions Required
automation:delete_rulepermission
automationBulkDeleteRules(
input: BulkDeleteAutomationsInput!
): AsynchronousActionResponse!
Arguments
automationBulkDeleteRules.input ● BulkDeleteAutomationsInput! non-null input common
Parameters for BulkDeleteAutomations
Type
AsynchronousActionResponse object common
Asynchronous action response type