Cancel a specific workflow run
Workflows
Cancel a specific workflow run
Request cancellation of a specific workflow execution identified by its run ID. This is the recommended method for cancelling workflow executions, as it guarantees that only the intended execution is cancelled. Unlike cancelling by workflow ID alone, this avoids a race condition where:
- A request to cancel the last execution is sent.
- The last execution completes before the server processes the cancellation.
- A new workflow execution starts.
- The server processes the cancellation request and cancels the new execution instead of the intended one.
POST
Cancel a specific workflow run
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier for a workflow.
Unique identifier for a workflow execution run.
Response
Cancellation request was sent successfully.

