IMPORTANT: No additional bug fixes or documentation updates will be released for this version. For the latest information, see the current release documentation.
Delete enrich policy API
edit IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete enrich policy API
editDeletes an existing enrich policy and its enrich index.
DELETE /_enrich/policy/my-policy
Request
editDELETE /_enrich/policy/<enrich-policy>
Prerequisites
editIf you use Elasticsearch security features, you must have:
-
readindex privileges for any indices used - The
enrich_userbuilt-in role
Description
editUse 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 parameters
edit-
<enrich-policy> - (Required, string) Enrich policy to delete.