delete index elasticsearch code example

Example 1: elasticsearch delete all indicesa

curl -XDELETE localhost:9200/shop

Example 2: elastic delete index

curl -X DELETE "localhost:9200/twitter?pretty"

Example 3: delete index elasticsearch

curl -X DELETE 'http://localhost:9200/_all'

Example 4: elasticsearch delete index

DELETE /my-index-000001

Example 5: elastic drop index

curl -X DELETE "localhost:9200/my-index-000001?pretty"

Example 6: elasticsearch delete all indicesa

curl -XDELETE localhost:9200/index/type/documentID

Tags:

Misc Example