The setup wizard uses this endpoint to check whether the instance has no local users yet (needs setup) and whether self-registration is open.
Endpoint
Authentication
None.
Response
Whether self-registration is allowed (requires both the open-registration toggle on and at least one local user).
Whether there are still no local users and a first-time setup is required.
Example