Before deleting index data, carefully evaluate any potential impact on services.
You can create a scheduled task to execute an index deletion request periodically. CSS supports Open Distro Index State Management. For details about how to clear obsolete indexes periodically, see Decoupling Index Storage and Compute in an Elasticsearch Cluster Through Index Lifecycle Management.
For details about Open Distro Index State Management, see https://opendistro.github.io/for-elasticsearch-docs/docs/im/ism/.
DELETE /{index_name}
