CREATE User

Creates a user. authConfigId is required.

Body Params
integer | null

Unix timestamp from when the user was made inactive, or null if the user is active. An inactive user can't sign in, so none of its profiles can be used.

string

At least one of username and email must be set.

string

At least one of username and email must be set.

string | null
string | null
string | null
string | null
string | null
string | null

Id of the user's language. See LIST Languages.

string | null
string | null
displayTimezones
array of strings

Array of timezone strings

displayTimezones
string
enum
Allowed:
boolean
organizationsAndRoles
array of arrays of strings
organizationsAndRoles
scopes
array of strings

Each item is the value of a permission with type SCOPE. See LIST Scopes.

scopes
appPermissions
array of strings

Each item is the value of a permission with type APP_PERMISSION. See LIST Scopes.

appPermissions
userObjects
array of strings
userObjects
boolean
string
required

Id of the user's auth config. See LIST Auth Configs. Can be changed but not removed.

string | null
string

Name of the profile on the user itself. Default if left out when the user is created.

profiles
array of objects

The user's other profiles. Optional: the user itself is its default profile and is complete without them. Fields that a profile has, such as profileName or scopes, are per profile: on the user itself, they make up its default profile. All other fields are shared by all profiles. Profile ids are set by the server; a profile sent with id is rejected with 400.

profiles
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json