Delete a pipeline
delete_pipelineDelete a pipeline and its stages. Only allowed when nothing would be lost: it is not the default (make another one the default first), it has no deals, no automation rule moves deals into it, and no website form files deals into it. Each refusal says which of these to resolve. This permanently deletes data and cannot be undone. Call without confirm first to see what would be deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually perform this. Call once WITHOUT it to receive a summary of exactly what will be destroyed, show that summary to the user, and only then call again with true. | |
| pipeline_id | Yes | The pipeline to delete, as returned by list_pipeline_stages |