elasticsearch delete already index data 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