Arguments
The workflow run ID or set of IDs you want to cancel.
Cancel workflows whose URL starts with this prefix. Cannot be combined with
workflowUrl.Cancel workflows matching this exact URL. Cannot be combined with
urlStartingWith.Cancel workflows created after this date. Accepts
Date objects, Unix timestamps (number), or numeric strings.Cancel workflows created before this date. Accepts
Date objects, Unix timestamps (number), or numeric strings.Cancel workflows with this label.
Whether you want to cancel all workflow runs without any filter.
Response
Returns an object with the number of cancelled workflows:The number of workflow runs that were cancelled.
Usage
Cancel a set of workflow runs
Cancel workflow runs with URL filter
If you have an endpoint calledhttps://your-endpoint.com and you
want to cancel all workflow runs on it, you can use urlStartingWith.
Note that this will cancel workflows in all endpoints under
https://your-endpoint.com.
workflowUrl instead: