delete index with curl elasticsearch code example
Example 1: elasticsearch curl to get delete indices
curl -XDELETE localhost:9200/shop/product/1
Example 2: elasticsearch curl to get delete indices
curl -XDELETE localhost:9200/index/type/documentID