Skip to content
GitHub

Whether the first admin account still has to be created.

GET
/api/v1/setup
curl --request GET \
--url https://example.com/api/v1/setup
Media typeapplication/json
object
needed
required

No admin account exists yet; the console shows /setup.

boolean
token_required
required

POST /setup must carry the token the installer printed.

boolean
secure
required

The admin may be created over this connection (HTTPS, this machine, or allowed by configuration); otherwise POST /setup answers 403.

boolean
Examplegenerated
{
"needed": true,
"token_required": true,
"secure": true
}