Delete a filter
Generally available; Added in 5.4.0
If an anomaly detection job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.
Required authorization
- Cluster privileges:
manage_ml
Path parameters
-
filter_id
string Required A string that uniquely identifies a filter.
DELETE
/_ml/filters/{filter_id}
Console
DELETE _ml/filters/safe_domains
curl \
--request DELETE 'http://api.example.com/_ml/filters/{filter_id}' \
--header "Authorization: $API_KEY"
Response examples (200)
A successful response when deleting a filter.
{
"acknowledged": true
}