remove index 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'
Example 3: elasticsearch delete index
DELETE /my-index-000001
Example 4: elastic drop index
curl -X DELETE "localhost:9200/my-index-000001?pretty"