---
title: "Delete pipeline"
method: DELETE
path: "/v1/pipelines/{id}"
tags: ["Pipeline"]
---

# Delete pipeline

`DELETE /v1/pipelines/{id}`

## Path parameters

- `id` integer, required

## Response `200`

OK

- Pipeline
  - `id` integer
  - `pipelineType` integer — 1: deal, 2:task
  - `name` string, nullable
  - `status` string, nullable — 'A': Active, 'P': Passive
  - `visibility` 1 | 2 | 3 — <p>Enum values:</p><ul><li><i>1 = Everyone</i> - Visible to the entire company</li><li><i>2 = Admins</i> - Visible to admins only</li><li><i>3 = Restricted</i> - Visible to specific user groups</li></ul>
  - `userGroupIds` string, nullable — user groups that can see this pipeline if null, it's visible to the entire company
  - `departmentIds` string, nullable — Comma-separated department ids this pipeline belongs to (multi-brand, IDT-465).

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) · [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infoset/infoset-rest-api/revisions/f5bc39a1ac15/schema)
