Core
API v2.x
2

# adminExists

Checks that an administrator account exists.


# Query Syntax

# HTTP

Copied to clipboard!
URL: http://kuzzle:7512/_adminExists
Method: GET

# Other protocols

Copied to clipboard!
{
  "controller": "server",
  "action": "adminExists"
}

# Response

Returns an exists boolean telling whether an administrator account exists.

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