elasticsearch delete all in index code example
Example 1: elasticsearch delete all indicesa
curl -XDELETE localhost:9200/shop
Example 2: elastic delete index
curl -X DELETE "localhost:9200/twitter?pretty"
curl -XDELETE localhost:9200/shop
curl -X DELETE "localhost:9200/twitter?pretty"