Bulk Cancel Workflow Runs
Cancel all matching workflow runs.
label=label_1&label=label_2) or as a single comma-separated value (label=label_1,label_2).Authorizations
QStash authentication token
Query Parameters
Optional list of specific workflow run IDs to cancel. If provided, the other filters are ignored.
The URL of the workflow whose runs to cancel. Supports multiple values.
workflow url is searched as a prefix by default. To make it exact match, workflowUrlExactMatch can be set to true.
Optional start date to filter workflow runs to cancel. Unix timestamp in milliseconds.
Optional end date to filter workflow runs to cancel. Unix timestamp in milliseconds.
Optional caller IP address to filter workflow runs to cancel. Supports multiple values.
Optional flow control key to filter workflow runs to cancel. Supports multiple values.
Optional label to filter workflow runs to cancel. Supports multiple values. You can pass multiple values to match workflow runs with any of the given labels (OR logic).
Examples:
label=my_labellabel=label_1&label=label_2label=label_1,label_2
Maximum number of workflow runs to cancel. Default is 100.
Response
All workflow runs cancelled successfully
The number of workflow runs that were cancelled.