elasticsearch rest api delete all indexes wildcard code example
Example 1: elastic delete index
curl -X DELETE "localhost:9200/twitter?pretty"
Example 2: elasticsearch delete index
DELETE /my-index-000001
curl -X DELETE "localhost:9200/twitter?pretty"
DELETE /my-index-000001