Skip to main content

DeletePipelineDefinition soft-deletes a draft or archived pipeline. Pipelines that have ever been enrolled cannot be deleted — archive them instead so the run history remains queryable.

DELETE 

/api/v1/crm/pipelines/:id

Errors:

  • NOT_FOUND: pipeline does not exist (ErrPipelineNotFound).
  • FAILED_PRECONDITION: pipeline has at least one run and must be archived rather than deleted (ErrPipelineHasRuns).

Request

Responses

A successful response.