Cancel pipeline run
POST/v2/pipelines/:pipeline_key/runs/:run_id/cancel
Request cancellation of an in-progress pipeline run. The run is asked to stop at the next checkpoint; it may take a moment to transition to the cancelled state. Runs that have already completed, failed, or been cancelled cannot be cancelled again.
Request
Responses
- 204
- 403
- 404
- 409
Cancellation has been requested.
Permissions do not allow cancelling this run.
Pipeline or run not found.
The run is not in a cancellable state. It has already completed, failed, or had cancellation requested.