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:
reasonis empty.
Request
Responses
- 200
- default
A successful response.
An unexpected error response.