Delete a datafeedAdded in 5.4.0
Path parameters
- datafeed_id
string Required 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 \
--request DELETE 'http://api.example.com/_ml/datafeeds/{datafeed_id}' \
--header "Authorization: $API_KEY"
Response examples (200)
A successful response when deleting a datafeed.
{
"acknowledged": true
}