Delete a datafeed Added in 5.4.0
Path parameters
-
A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.
Query parameters
-
force boolean
Use to forcefully delete a started datafeed; this method is quicker than stopping and deleting the datafeed.
DELETE /_ml/datafeeds/{datafeed_id}
curl \
-X DELETE http://api.example.com/_ml/datafeeds/{datafeed_id}
Response examples (200)
{
"acknowledged": true
}