---
title: "Delete pipeline"
method: DELETE
path: "/v2/pipelines/{pipeline_key}"
tags: ["Pipelines"]
---

# Delete pipeline

`DELETE /v2/pipelines/{pipeline_key}`

Permanently deletes a pipeline and its run history. This cancels any in-progress runs. This does not delete agent sessions created by the pipeline.

## Path parameters

- `pipeline_key` string, required — The unique key for the pipeline. You can provide the key, or the platform generates one.

## Headers

- `Request-Timeout` integer
- `Request-Timeout-Millis` integer

## Response `204`

The pipeline is deleted.

## Other responses

- `403` — Permissions do not allow deleting this pipeline.
- `404` — Pipeline not found.

---

[API](https://skmtc.net/vectara/apis/vectara-rest-api-v2.md) · [All operations](https://skmtc.net/vectara/apis/vectara-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vectara/vectara-rest-api-v2/revisions/fca567a46b3a/schema)
