IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete datafeeds API
editDelete datafeeds API
editDeletes an existing datafeed.
Request
editDELETE _ml/datafeeds/<feed_id>
Description
editUnless the force
parameter is used, the datafeed must be stopped before it can be deleted.
Path Parameters
edit-
feed_id
(required) - (string) Identifier for the datafeed
Query Parameters
edit-
force
- (boolean) Use to forcefully delete a started datafeed; this method is quicker than stopping and deleting the datafeed.
Authorization
editYou must have manage_ml
, or manage
cluster privileges to use this API.
For more information, see Security privileges.
Examples
editThe following example deletes the datafeed-total-requests
datafeed:
DELETE _ml/datafeeds/datafeed-total-requests
When the datafeed is deleted, you receive the following results:
{ "acknowledged": true }