Core
API v2.x
2

delete #

Deletes an index.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/<index>
Method: DELETE

Other protocols #

{
  "index": "<index>",
  "controller": "index",
  "action": "delete"
}

Arguments #

  • index: index name to delete

Response #

Returns a confirmation that the index is being deleted:

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

Possible errors #