Delete a pipeline
Deletes a pipeline. This is a soft delete: the pipeline gets a deleted_at timestamp and no longer appears in list or get.
A deal or conversation pipeline that still holds active deals or conversations cannot be deleted: move them to another pipeline first (update each deal's pipeline_id and pipeline_stage_id).
Endpoint
DELETE/pipelines/:id
Request
Response
Returns the deleted pipeline object with deleted_at set.
json
Errors
| Status | When |
|---|---|
400 Bad Request | The pipeline still has deals or conversations. The error data contains code: "PIPELINE_HAS_RECORDS", count and type. |
403 Forbidden | The API key's user has the member role in the organization. |
json
Report an issue with this documentation
Please log in to report issues with our documentation.