delete index from outside elasticsearch code example
Example 1: elastic delete index
curl -X DELETE "localhost:9200/twitter?pretty"
Example 2: delete index elasticsearch
curl -X DELETE 'http://localhost:9200/_all'
curl -X DELETE "localhost:9200/twitter?pretty"
curl -X DELETE 'http://localhost:9200/_all'