
Elasticsearch 8.x Cookbook
By :

To clean up our Elasticsearch cluster of obsolete or unwanted pipelines, we need to call the delete
pipeline API with the ID of the pipeline.
You need an up-and-running Elasticsearch installation, as we described in the Downloading and installing Elasticsearch recipe in Chapter 1, Getting Started.
To execute the commands, any HTTP client can be used, such as curl (https://curl.haxx.se/), Postman (https://www.getpostman.com/), or similar. Use the Kibana console, as it provides code completion and better character escaping for Elasticsearch.
To delete an ingestion pipeline in Elasticsearch, we will perform the following step.
We can delete the ingest pipeline using a DELETE
call:
DELETE /_ingest/pipeline/add-user-john
The result that's returned by Elasticsearch, if everything is okay, should be as follows:
{ "acknowledged" : true }
The delete
pipeline API removes...