Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

delete #

Deletes an index.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/<index>
Method: DELETE

Other protocols #

Copied to clipboard!
{
  "index": "<index>",
  "controller": "index",
  "action": "delete"
}

Arguments #

  • index: index name to delete

Response #

Returns a confirmation that the index is being deleted:

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "index": "<index>",
  "controller": "index",
  "action": "delete",
  "requestId": "<unique request identifier>",
  "result": {
    "acknowledged": true
  }
}

Possible errors #