This API delete an index and all the documents it contains.
Parameters:
curl -XDELETE "http://localhost:9091/indexes/my_index"
If any error occurs:
{ "status_code" : 404, "message" : "Index not found: my_index" }