Delete a lifecycle policy

  • DELETE /_ilm/policy/{policy}

You cannot delete policies that are currently in use. If the policy is being used to manage any indices, the request fails and returns an error.

  • Cluster privileges: manage_ilm

Path Parameters

policy string Name required

Identifier for the policy.

Response