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.

resetDatabase #

Available since 1.4.0

Asynchronously deletes all indexes created by users.

Neither Kuzzle internal indexes nor Plugin indexes are deleted.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/admin/_resetDatabase
Method: POST

Other protocols #

Copied to clipboard!
{
  "controller": "admin",
  "action": "resetDatabase"
}

Response #

Returns a confirmation that the command is being executed.

Copied to clipboard!
{
  "requestId": "d16d5e8c-464a-4589-938f-fd84f46080b9",
  "status": 200,
  "error": null,
  "controller": "admin",
  "action": "resetDatabase",
  "collection": null,
  "index": null,
  "result": { "acknowledge": true }
}