Create or update a lifecycle policy

If the specified policy exists, it is replaced and the policy version is incremented.

Note

Only the latest version of the policy is stored, you cannot revert to previous versions.

About index lifecycle management

Response