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 API
editDelete filter API
editDeletes a filter.
Request
editDELETE _ml/filters/<filter_id>
Prerequisites
edit-
If the Elasticsearch security features are enabled, you must have
manage_ml
ormanage
cluster privileges to use this API. See Security privileges and Machine learning security privileges.
Description
editThis 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 parameters
edit-
<filter_id>
- (Required, string) A string that uniquely identifies a filter.
Examples
editDELETE _ml/filters/safe_domains
When the filter is deleted, you receive the following results:
{ "acknowledged": true }
ElasticON events are back!
Learn about the Elastic Search AI Platform from the experts at our live events.
Register nowWas this helpful?
Thank you for your feedback.