delete indices elasticsearch 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"
Example 3: elasticsearch delete index
DELETE /my-index-000001
Example 4: elasticsearch delete all indicesa
curl -XDELETE localhost:9200/index/type/documentID