Delete a pipeline that is used for Logstash Central Management. If the request succeeds, you receive an empty response with an appropriate status code.
Required authorization
- Cluster privileges:
manage_logstash_pipelines
DELETE /_logstash/pipeline/{id}
Console
DELETE _logstash/pipeline/my_pipeline resp = client.logstash.delete_pipeline( id="my_pipeline", ) const response = await client.logstash.deletePipeline({ id: "my_pipeline", }); response = client.logstash.delete_pipeline( id: "my_pipeline" ) $resp = $client->logstash()->deletePipeline([ "id" => "my_pipeline", ]); curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_logstash/pipeline/my_pipeline" client.logstash().deletePipeline(d -> d .id("my_pipeline") );