API v1.x

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.

flushdb #

Empties the database dedicated to client applications (the reserved space for Kuzzle is unaffected).

[Redis documentation]

Query Syntax #


Copied to clipboard!
URL: http://kuzzle:7512/ms/_flushdb
Method: POST

Other protocols #

Copied to clipboard!
  "controller": "ms",
  "action": "flushdb"

Response #

Returns 1.

Copied to clipboard!
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "flushdb",
  "collection": null,
  "index": null,
  "result": 1