delete all index elasticsearch code example
Example 1: elasticsearch delete all indicesa
curl -XDELETE localhost:9200/shop
Example 2: elasticsearch delete index
DELETE /my-index-000001
Example 3: elastic drop index
curl -X DELETE "localhost:9200/my-index-000001?pretty"
Example 4: elasticsearch delete all indicesa
curl -XDELETE localhost:9200/index/type/documentID