Cancel Workflow Run
Cancel a running workflow run by its ID. This endpoint allows you to stop a workflow run that is currently in progress.
Note: Only workflow runs with a status of PROCESSING
or PENDING
can be cancelled. Workflow runs that are completed, failed, in review, rejected, or already cancelled cannot be cancelled.
Path parameters
workflowRunId
The ID of the workflow run to cancel.
Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
x-extend-api-version
API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request
or be set to a previous legacy version. See API Versioning for more details.
Response
Successfully cancelled workflow run
success
workflowRun