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

StatusWhen
400 Bad RequestThe pipeline still has deals or conversations. The error data contains code: "PIPELINE_HAS_RECORDS", count and type.
403 ForbiddenThe 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.