Skip to main content

CancelPipelineRun terminates a run permanently with a required reason. No further actions execute; pending action rows are marked `skipped`; the run transitions to `cancelled` and `cancel_reason` is recorded.

POST 

/api/v1/crm/pipeline-runs/:id/cancel

Errors:

  • NOT_FOUND: run does not exist (ErrPipelineRunNotFound).
  • FAILED_PRECONDITION: run is already in a terminal state (ErrPipelineRunNotActive).
  • INVALID_ARGUMENT: reason is empty.

Request

Responses

A successful response.