原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ml-delete-filter.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/ml-delete-filter.html
本地英文版地址: ../en/ml-delete-filter.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Delete filter APIedit
Deletes a filter.
Requestedit
DELETE _ml/filters/<filter_id>
Prerequisitesedit
-
If the Elasticsearch security features are enabled, you must have
manage_ml
ormanage
cluster privileges to use this API. See Security privileges.
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) A string that uniquely identifies a filter.
Examplesedit
DELETE _ml/filters/safe_domains
When the filter is deleted, you receive the following results:
{ "acknowledged": true }