Skip to main content
DELETE
/
api
/
pipelines
/
{pipelineId}
Delete a pipeline
curl --request DELETE \
  --url https://your-instance.example.com/api/pipelines/{pipelineId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "targetPipelineId": "66f0a0b0c0d0e0f0a0b0c0d1"
}
'
{
  "message": "Pipeline deleted",
  "pipelineId": "66f0a0b0c0d0e0f0a0b0c0d0",
  "recordsTransferred": 22,
  "movedToPipeline": {
    "id": "66f0a0b0c0d0e0f0a0b0c0d1",
    "name": "EMEA sales pipeline"
  },
  "movedToStage": {
    "id": "67f0a0b0c0d0e0f0a0b0c0e0",
    "name": "New"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pipelineId
string
required

Body

application/json
targetPipelineId
string

Required when the pipeline still has assigned contacts or applications. Records are migrated to the first active stage of this destination pipeline before deletion.

Response

Pipeline deleted

message
string
pipelineId
string
recordsTransferred
number
movedToPipeline
object
movedToStage
object