Request createUserSchema
rootRole integer or enum Required
The role to assign to the user. Can be either the role's ID or its unique name.
username string Optional
The user's username. Must be provided if email is not provided.
email string Optional
The user's email address. Must be provided if username is not provided.
name string Optional
The user’s name (not the user’s username).
password string Optional
Password for the user
sendEmail boolean Optional
Whether to send a welcome email with a login link to the user or not. Defaults to true.
Response The resource was successfully created.
name string or null
Name of the user
email string
Email of the user
username string or null
A unique username for the user
imageUrl string
URL used for the user profile image
inviteLink string
If the user is actively inviting other users, this is the link that can be shared with other users
loginAttempts integer >=0
How many unsuccessful attempts at logging in has the user made
emailSent boolean
Is the welcome email sent to the user or not
rootRole integer or enum
Which root role this user is assigned. Usually a numeric role ID, but can be a string when returning newly created user with an explicit string role.
seenAt string or null format: "date-time"
The last time this user logged in
createdAt string format: "date-time"
The user was created at this time
accountType enum
A user is either an actual User or a Service Account
Allowed values: User Service Account
permissions list of strings
Deprecated
scimId string or null
The SCIM ID of the user, only present if managed by SCIM
seatType string or null
The seat type of this user
companyRole string or null
The role of the user within the company.
productUpdatesEmailConsent boolean or null
Whether the user has consented to receive product update emails.
activeSessions integer or null
Count of active browser sessions for this user
deletedSessions double
Experimental. The number of deleted browser sessions after last login