v50

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-01147180956.9 KB
Users

Create first admin (one-time setup)

First-run setup: create the first admin user and auto-login.

Unauthenticated by design — there is no admin to authenticate as yet. The operation self-closes once any user exists (returns 410 setup_already_complete thereafter), so it is safe to expose only during first boot.

post/users:create-admin

Request body

emailstring required
first_namestring
last_namestring
passwordstring required

Response

Successful Response

access_tokenstring required
expires_ininteger required
must_change_passwordboolean required
token_typestring required