Skip to main content

Cancel a run

DELETE 

/api/:accountName/projects/:projectName/workflows/:workflowId/runs/:runId/cancel

Asks the platform to stop a run that is still pending, starting or running. Cancellation is accepted at once and takes effect as its tasks wind down, so poll the run to see it reach a terminal state. A run that is finishing or has ended cannot be cancelled.

Request​

Responses​

The cancellation was accepted.