Skip to main content

Create user

Create user in the built-in user database.

Input parameters

NameDescriptionTypeRequiredDefault value
FirstnameThe firstname of the user you wish to create.STRINGfalsenull
LastnameThe lastname of the user you wish to create.STRINGfalsenull
EmailThe email of the user you wish to create.EMAILtruenull
Email verificationWhether this user needs email verificationBOOLEANtruetrue
Trigger email validationWhether the creation of this user should trigger email validation immediatly or wait until the user tries to loginBOOLEANtruetrue
OTPWhether this user needs to activate OTP authentication (Multifactor)BOOLEANtruetrue
PasswordThe password of the user you wish to create.PASSWORDfalsenull

Output

NameDescriptionTypeDefault value
User variable nameThis variable will contain the created user objectUSERCREATED_USER
The statusThis variable will contain 'SUCCESS' if the user was created, 'USER_EXISTS' if the user could not be created because one with that email address already exists, 'PASSWORD_INVALID' if the password provided was not valid according to the password requirements.STATUSUSER_CREATION_STATUS