System Admin

Create a new user (SystemAdmin)

Changed on

Provision a new local user account (SystemAdmin only). When password is omitted or null, a cryptographically random password is generated (OIDC-style crypto/rand + base64url) and returned once in the response body. Any provided value, including empty string, is policy-checked. Tenant provisioning follows the shared auth.default_tenant_mode policy.

post/system/admin/users/create

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/system/admin/users/create
  • Auth
    none declared

Request body

emailstring required
passwordstring
usernamestring required

Response

Identity already exists, returns the existing user

generated_passwordstring

GeneratedPassword is the plaintext password when the server auto-generated one. Absent when the caller supplied the password.

Changes