Skip to content

Delete index

Delete an index.


Note: This operation cannot be undone, and the deleted index can't be recovered

DELETE /indexes/{index_name}

Example

curl -XDELETE http://localhost:8882/indexes/my-first-index
results = mq.index("my-first-index").delete()

Response: 200 OK

{"acknowledged": true}