Skip to main content

Create User

Adds and updates users in the native realm. These users are commonly referred to as native users. A password is required for adding a new user but is optional when updating an existing user.

Parameters

ParameterDescription
EmailThe email of the user.
EnabledSpecifies whether the user is enabled. The default value is true.
Full NameThe full name of the user.
MetadataArbitrary metadata that you want to associate with the user.
PasswordThe user’s password. Passwords must be at least 6 characters long. When adding a user, one of password or password_hash is required.
Password HashA hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage. Using this parameter allows the client to pre-hash the password for performance and/or confidentiality reasons. The password parameter and the password_hash parameter cannot be used in the same request.
RolesA set of roles the user has. The roles determine the user’s access permissions. To create a user without any roles, specify an empty list -> [].
UsernameAn identifier for the user.

Usernames must be at least 1 and no more than 1024 characters. They can contain alphanumeric characters (a-z, A-Z, 0-9), spaces, punctuation, and printable symbols in the Basic Latin (ASCII) block. Leading or trailing whitespace is not allowed.

Workflow Library Example

Create User with Elasticsearch and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop