---
type: api
title: Delete a Logstash pipeline
description: Delete a centrally-managed Logstash pipeline.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-delete-logstash-pipeline
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-delete-logstash-pipeline
products:
  - Kibana
---

# Delete a Logstash pipeline

Availability:

- Server: `https://{kibana_url}`

## Paths

- `DELETE` `/api/logstash/pipeline/{id}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#basicauth)

#### Path Parameters

- `id` (string)
  An identifier for the pipeline.

## Description

Delete a centrally-managed Logstash pipeline.
If your Elasticsearch cluster is protected with basic authentication, you must have either the `logstash_admin` built-in role or a customized Logstash writer role.

[Secure your connection](https://www.elastic.co/guide/en/logstash/current/ls-security.html)

## Response

Indicates a successful call

## Code Examples

#### Console

```console
DELETE /api/logstash/pipeline/{id}
```

#### curl

```curl
curl -X DELETE "https://{kibana_url}/api/logstash/pipeline/{id}"
```

