---
title: "DeletePipeline permanently deletes a pipeline for a writekey."
method: DELETE
path: "/v1.1/pipeline"
tags: ["ControlService"]
---

# DeletePipeline permanently deletes a pipeline for a writekey.

`DELETE /v1.1/pipeline`

Supply scope to determine the pipeline deleted.
 Most clients should use scope PIPELINE_SCOPE_PUBLIC.

## Query parameters

- `scope` 'INTEGRATION_SCOPE_UNSPECIFIED' | 'INTEGRATION_SCOPE_PUBLIC' | 'INTEGRATION_SCOPE_INTERNAL'
- `writeKey` string

## Response `200`

OK

- ProtobufControlpbV1DeletePipelineResponse
  - `scope` 'INTEGRATION_SCOPE_UNSPECIFIED' | 'INTEGRATION_SCOPE_PUBLIC' | 'INTEGRATION_SCOPE_INTERNAL'
  - `writeKey` string

## Other responses

- `4XX` — Something is wrong with your request such as missing or invalid data. Correct your request and try again.
- `5XX` — Internal server error. Try again later or reach out to MetaRouter support.

---

[API](https://skmtc.net/metarouter/apis/control-api.md) · [All operations](https://skmtc.net/metarouter/apis/control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metarouter/control-api/versions/5afc05bfaaa2/schema)
