Delete

edit

Phases allowed: delete.

Permanently removes the index.

Options

edit
delete_searchable_snapshot
[beta] This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. (Optional, Boolean) Deletes the searchable snapshot created in the cold phase. Defaults to true. This option is applicable when the searchable snapshot action is used in the cold phase.

Example

edit
PUT _ilm/policy/my_policy
{
  "policy": {
    "phases": {
      "delete": {
        "actions": {
          "delete" : { }
        }
      }
    }
  }
}