Delete an index

This API delete an index and all the documents it contains.

Parameters:

curl -XDELETE "http://localhost:9091/indexes/my_index"

Response

If any error occurs:

{
  "status_code" : 404,
  "message" : "Index not found: my_index"
}