To delete an index in Elasticsearch, you have to create a query having DELETE as the request method and index name you want to delete.