原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/delete-pipeline-api.html, 原文档版权归 www.elastic.co 所有

Delete pipeline APIedit

Deletes one or more existing ingest pipeline.

DELETE /_ingest/pipeline/my-pipeline-id

Requestedit

DELETE /_ingest/pipeline/<pipeline>

Path parametersedit

<pipeline>

(Required, string) Pipeline ID or wildcard expression of pipeline IDs used to limit the request.

To delete all ingest pipelines in a cluster, use a value of *.

Query parametersedit

master_timeout
(Optional, time units) Specifies the period of time to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30s.
timeout
(Optional, time units) Specifies the period of time to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to 30s.

Examplesedit

Delete a specific ingest pipelineedit

DELETE /_ingest/pipeline/pipeline-one

Delete ingest pipelines using a wildcard expressionedit

DELETE /_ingest/pipeline/pipeline-*

Delete all ingest pipelinesedit

DELETE /_ingest/pipeline/*