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, or user_create
Key Features:
- User account is created immediately (unlike invitations)
- Admin sets the initial password
- User receives a notification when
notify_useristrue(email or SMS perprimaryType) {{login_link}}inUSER_CREATEDusesinitiate_login_urifrom the request when provided, otherwise a built/authz-srv/authzURL- User can change password after first login
initiate_login_uri: Recommended — configure on the app in app settings when notify_user is true. Details: Create User.
Response type: When a login link is generated from client_id and redirect_uri, pass response_type from the app's configured response_types. See App management and Get App Configuration. If omitted, code is used as the default.
Request
Responses
- 200
- 400
- 401
- 409
- 417
OK
Bad Request
Unauthorized
Conflict
Expectation Failed