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.
You can use the following APIs to manage policies on indices. See Managing the index lifecycle for more information about Index Lifecycle Management.