2018-10-05 11:45:46 -04:00
|
|
|
--
|
|
|
|
:api: delete-datafeed
|
|
|
|
:request: DeleteDatafeedRequest
|
|
|
|
:response: AcknowledgedResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-delete-datafeed"]
|
2020-10-02 17:01:01 -04:00
|
|
|
=== Delete datafeeds API
|
2019-07-26 13:47:03 -04:00
|
|
|
|
|
|
|
Deletes an existing datafeed.
|
2018-09-13 12:13:36 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-request"]
|
2020-10-02 17:01:01 -04:00
|
|
|
==== Delete datafeeds request
|
2018-09-13 12:13:36 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
A +{request}+ object requires a non-null `datafeedId` and can optionally set `force`.
|
2018-09-13 12:13:36 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
2018-09-13 12:13:36 -04:00
|
|
|
---------------------------------------------------
|
2019-07-26 13:47:03 -04:00
|
|
|
<1> Use to forcefully delete a started datafeed. This method is quicker than
|
|
|
|
stopping and deleting the datafeed. Defaults to `false`.
|
2018-09-13 12:13:36 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
2020-10-02 17:01:01 -04:00
|
|
|
==== Delete datafeeds response
|
2018-09-13 12:13:36 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
The returned +{response}+ object indicates the acknowledgement of the request:
|
2018-09-13 12:13:36 -04:00
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
2018-09-13 12:13:36 -04:00
|
|
|
---------------------------------------------------
|
2019-07-26 13:47:03 -04:00
|
|
|
<1> `isAcknowledged` was the deletion request acknowledged or not.
|