Skip to main content
POST
Create a user

Authorizations

Authorization
string
header
required

Session JWT. After nasiko auth login, print it with jq -r '.clusters[.active].token' ~/.nasiko/config.json. API keys aren't supported.

Body

application/json
email
string
required
username
string
required
display_name
string | null
is_superuser
boolean

Separate from role, which is never "superuser". This flag grants unrestricted access, including to superuser-only routes.

role
string | null

Response

User created

One-time credential material — the only time access_secret is ever returned; the server stores only its hash from here on.

access_key
string
required
access_secret
string
required
id
string<uuid>
required
message
string
required
username
string
required