Skip to main content

Create a new user

POST 

/users-srv/user/create/byadmin

Creates a new user account with admin-set password. The user account is immediately active and searchable.

Required Roles: admin, secondary_admin, super_admin, or user_create

Key Features:

  • User account is created immediately (unlike invitations)
  • Admin sets the initial password
  • User receives email/SMS with login link (if notify_user: true)
  • Login link uses initiate_login_uri from app configuration (recommended) or generated authz URL
  • User can change password after first login

Note: For OAuth2 compliance, ensure initiate_login_uri is configured in your app settings. This allows the client to generate OAuth2 parameters (state, code_verifier for PKCE) client-side for seamless login after user creation.

Request

Responses

OK