---
title: "Gets if there is an admin user"
method: GET
path: "/api/server/admin-user"
tags: ["Server Configuration"]
---

# Gets if there is an admin user

`GET /api/server/admin-user`

## Response `200`

Gets if there is an admin user

- ServerAdminUser
  - `hasUser` boolean

## Other responses

- `501` — Contao console does not support the necessary contao:user:list and/or contao:user:create commands/options.
- `502` — If the command line does not work as expected.
- `503` — If the PHP command line binary cannot be found.

---

[API](https://skmtc.net/contao/apis/contao-manager-api.md) · [All operations](https://skmtc.net/contao/apis/contao-manager-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/contao/contao-manager-api/revisions/074d8046de13/schema)
