elasticsearch drop index python code example Example: elastic drop index curl -X DELETE "localhost:9200/my-index-000001?pretty"