原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/delete-enrich-policy-api.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/delete-enrich-policy-api.html

Delete enrich policy APIedit

Deletes an existing enrich policy and its enrich index.

DELETE /_enrich/policy/my-policy

Requestedit

DELETE /_enrich/policy/<enrich-policy>

Prerequisitesedit

If you use Elasticsearch security features, you must have:

  • read index privileges for any indices used
  • The enrich_user built-in role

Descriptionedit

Use the delete enrich policy API to delete an existing enrich policy and its enrich index.

You must remove an enrich policy from any in-use ingest pipelines before deletion. You cannot remove in-use enrich policies.

Path parametersedit

<enrich-policy>
(Required, string) Enrich policy to delete.