/admin/usersCreate a user account
Creates a new user account with the supplied identity, login, notification, access, and visibility settings. Provide username and email at minimum; you can also set migration metadata such as created_at and account options such as restricted or must_change_password. A 201 response returns the created user object.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
User account creation options, including the required username and email and optional account settings.
For explicitly setting the user creation timestamp. Useful when users are migrated from other systems. When omitted, the user's creation timestamp will be set to "now".
The user's email address in valid email format.
The user's full name.
The user's login name.
Whether the user must change the password at the next sign-in.
The password for the new user account.
Whether the new account has restricted access.
Whether to send a notification to the new user.
The integer identifier of the login source for the account.
The username for the new user account.
The visibility setting for the new user account.
Is user active
URL to the user's avatar
the user's description
user counts
the user's full name
URL to the user's profile page
the user's id
Is the user an administrator
User locale
the user's location
the user's username
the user's authentication sign-in name.
Is user login prohibited
the user's pronouns
Is user restricted
The ID of the user's Authentication Source
User visibility level option: public, limited, private
the user's website
A 400 is returned when the request is malformed, a 403 when the authenticated user is not permitted to create accounts, and a 422 when the supplied values fail validation. username and email are required, and email must use a valid email format; created_at must be an ISO 8601 date-time when provided.