delete all entries in index elasticsearch code example
Example 1: delete index elasticsearch
curl -X DELETE 'http://localhost:9200/_all'
Example 2: elasticsearch delete index
DELETE /my-index-000001
curl -X DELETE 'http://localhost:9200/_all'
DELETE /my-index-000001