Core
API v2.x
2

adminExists #

Checks that an administrator account exists.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_adminExists
Method: GET

Other protocols #

{
  "controller": "server",
  "action": "adminExists"
}

Response #

Returns an exists boolean telling whether an administrator account exists.

{
  "status": 200,
  "error": null,
  "index": null,
  "collection": null,
  "action": "adminExists",
  "controller": "server",
  "requestId": "<unique request identifier>",
  "result": {
    "exists": true
  }
}