IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete Filter APIedit
Deletes a filter.
Requestedit
DELETE _xpack/ml/filters/<filter_id>
Descriptionedit
This API deletes a filter. If a machine learning job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.
Path Parametersedit
-
filter_id
(required) - (string) Identifier for the filter.
Authorizationedit
You must have manage_ml
, or manage
cluster privileges to use this API.
For more information, see Security privileges.
Examplesedit
The following example deletes the safe_domains
filter:
DELETE _xpack/ml/filters/safe_domains
When the filter is deleted, you receive the following results:
{ "acknowledged": true }