elastic search drop all indexes code example Example: elastic drop index curl -X DELETE "localhost:9200/my-index-000001?pretty"