Admin Indices Delete IndexΒΆ

The delete index API allows to delete an existing index.

$ curl -XDELETE 'http://localhost:9200/twitter/'

The above example deletes an index called twitter.

The delete index API can also be applied to more than one index, or on _all indices (be careful!). All indices will also be deleted when no specific index is provided.

Previous topic

Admin Indices Create Index

Next topic

Admin Indices Delete Mapping

This Page