delete index in elasticsearch code example
Example 1: elasticsearch delete all indicesa
curl -XDELETE localhost:9200/shop
Example 2: elasticsearch delete index
DELETE /my-index-000001
curl -XDELETE localhost:9200/shop
DELETE /my-index-000001