delete index patterns in kibana code example Example: delete index elasticsearch curl -X DELETE 'http://localhost:9200/_all'