WARNING: Version 5.4 of the Elastic Stack has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Delete Datafeedsedit
The delete datafeed API enables you to delete an existing datafeed.
Requestedit
DELETE _xpack/ml/datafeeds/<feed_id>
Descriptionedit
You must stop the datafeed before you can delete it.
Path Parametersedit
-
feed_id
(required) - (string) Identifier for the datafeed
Authorizationedit
You must have manage_ml
, or manage
cluster privileges to use this API.
For more information, see Cluster Privileges.
Examplesedit
The following example deletes the datafeed-it-ops
datafeed:
DELETE _xpack/ml/datafeeds/datafeed-it-ops
When the datafeed is deleted, you receive the following results:
{ "acknowledged": true }