Retry a policy
Added in 6.6.0
Retry running the lifecycle policy for an index that is in the ERROR step. The API sets the policy back to the step where the error occurred and runs the step. Use the explain lifecycle state API to determine whether an index is in the ERROR step.
Path parameters
-
index
string Required The name of the indices (comma-separated) whose failed lifecycle step is to be retry
POST
/{index}/_ilm/retry
curl \
--request POST http://api.example.com/{index}/_ilm/retry \
--header "Authorization: $API_KEY"
Response examples (200)
{
"acknowledged": true
}