Skip to main content
GET
/
auth
/
admin
/
exists
Check admin exists
curl -X GET http://localhost:50052/auth/admin/exists \
  -H "Accept: application/json" \
  -H 'Authorization: Bearer <admin-jwt-or-access-token>'
{
  "usage": {},
  "time": 0,
  "status": "ok",
  "result": true
}

Response

200 - application/json

Returns the admin existence status.

usage
object
time
number<double>

Time spent to process this request, in seconds.

status
string
result
boolean

true if the admin user exists, false otherwise.