This assumes that elasticsearch is running on localhost with its management port being 9200.
localhost
9200
curl -XGET http://localhost:9200/_cat/indices?v
curl -XDELETE http://localhost:9200/index_name
curl -XDELETE http://localhost:9200/_all
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.