kibana/docs/api/logstash-configuration-management/delete-pipeline.asciidoc
Kaarina Tungseth fda3196611
[DOCS] Updates API requests and examples (#60695)
* [DOCS] Updates API requests and examples

* Review comments
2020-03-20 16:33:20 -05:00

33 lines
842 B
Text

[[logstash-configuration-management-api-delete]]
=== Delete Logstash pipeline API
++++
<titleabbrev>Delete pipeline</titleabbrev>
++++
experimental[] Delete a centrally-managed Logstash pipeline.
[[logstash-configuration-management-api-delete-request]]
==== Request
`DELETE <kibana host>:<port>/api/logstash/pipeline/<id>`
[[logstash-configuration-management-api-delete-params]]
==== Path parameters
`id`::
(Required, string) The pipeline ID.
[[logstash-configuration-management-api-delete-codes]]
==== Response code
`204 No Content`::
Indicates a successful call.
[[logstash-configuration-management-api-delete-example]]
==== Example
[source,sh]
--------------------------------------------------
$ curl -X DELETE "localhost:5601/api/logstash/pipeline/hello-world"
--------------------------------------------------
// KIBANA