Delete a pipeline

Delete a pipeline and its stages.

DELETE https://api.centerfy.ai/webhooks/inbound/pipelines/:id

Headers

HeaderRequiredValueDescription
x-api-keyYesyour sub-account API key (cfy_…)Authenticates the request; or use Authorization: Bearer <key>.

Path parameters

NameTypeRequiredDescription
idstring (uuid)YesThe pipeline id.

Query parameters

NameTypeRequiredDefaultDescription
forcebooleanNofalseRequired when the pipeline still has opportunities — deleting the pipeline permanently deletes them too.

Example

curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/pipelines/{id}?force=false" \
  -H "x-api-key: $CENTERFY_API_KEY"
import { CenterfyClient } from "@centerfy/sdk";

const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });

const result = await centerfy.pipelines.delete("<pipelineId>", {
  "force": "false"
});
console.log(result);
centerfy pipelines delete <pipelineId> '{"force":"false"}'

MCP tool: centerfy_pipelines_delete (see MCP server)

Response

{
  "status": "success",
  "deleted": true,
  "pipeline_id": "7d2e9f10-4b3c-4a1d-9e8f-2a3b4c5d6e7f",
  "opportunities_deleted": 0
}

Errors

  • 409 — with opportunity_count while the pipeline has opportunities and force is not true.
  • 404 — if the pipeline is not in this sub-account.
© 2026 Centerfy AI. All rights reserved.