2022-02-04 10:37:42 -05:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Delete a pipeline
|
|
|
|
parent: Ingest APIs
|
|
|
|
nav_order: 14
|
2023-05-04 13:44:02 -04:00
|
|
|
redirect_from:
|
|
|
|
- /opensearch/rest-api/ingest-apis/delete-ingest/
|
2022-02-04 10:37:42 -05:00
|
|
|
---
|
|
|
|
|
|
|
|
# Delete a pipeline
|
|
|
|
|
|
|
|
If you no longer want to use an ingest pipeline, use the delete ingest pipeline API operation.
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```
|
2022-02-07 13:49:43 -05:00
|
|
|
DELETE _ingest/pipeline/12345
|
2022-02-04 10:37:42 -05:00
|
|
|
```
|
2023-01-30 17:09:38 -05:00
|
|
|
{% include copy-curl.html %}
|
2022-02-04 10:37:42 -05:00
|
|
|
|
2022-02-07 13:49:43 -05:00
|
|
|
## Path and HTTP methods
|
|
|
|
|
|
|
|
Delete an ingest pipeline based on that pipeline's ID.
|
|
|
|
|
|
|
|
```
|
|
|
|
DELETE _ingest/pipeline/
|
|
|
|
```
|
2022-02-04 10:37:42 -05:00
|
|
|
|
|
|
|
## URL parameters
|
|
|
|
|
2022-02-07 13:49:43 -05:00
|
|
|
All URL parameters are optional.
|
|
|
|
|
2022-02-04 10:37:42 -05:00
|
|
|
Parameter | Type | Description
|
|
|
|
:--- | :--- | :---
|
2022-02-04 12:44:49 -05:00
|
|
|
master_timeout | time | How long to wait for a connection to the master node.
|
|
|
|
timeout | time | How long to wait for the request to return.
|
2022-02-04 10:37:42 -05:00
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"acknowledged" : true
|
|
|
|
}
|
|
|
|
```
|