Create User
Creates a new user in the system. The username is the user’s email address. For non‑Federated users, the username must be a valid email address and is used for login and identification.
|
URL |
Copy
|
|
Method |
|
Header parameters
|
Name |
Description |
|---|---|
|
|
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
|
|
|
|
A valid email address. |
|
|
|
|
The password for the user. See also Password policy. This field is mandatory if |
|
|
|
|
The new user's first name. |
|
|
|
|
The new user's last name. |
|
|
|
|
The user's email address. This parameter is required in addition to |
|
|
|
|
The roles assigned to the new user, specified as a comma-seperated list. |
|
|
|
|
A flag that indicates if the user is enabled in the system. |
|
|
|
|
A flag that indicates if the user is authenticated through a third-party identity provider (IdP). |
|
|
|
|
The temporary password used to log into the system for the first time. |
|
|
|
|
|
|
|
|
|
The ID of the group that the new user is assigned to. |
|
|
|
|
The link to the third-party identity provider, if used. |
|
|
|
|
The username in the IdP system, if used. |
|
|
array of a string
|
|
The
name of the device groups that the user is assigned to. |
* Mandatory
Success response
Code: 200
{
"username":"BenB",
"password":"sdS!4dfd",
"firstName":"Ben",
"lastName":"Amar",
"email":BenB@gmail.com,
"roles":["administrator"]
}
{
"username": "benb",
"password": "sdS!4dfd",
"firstName": "Ben",
"lastName": "Amar",
"email": BenB@gmail.com,
"roles": ["administrator"],
"enabled": true,
"locked": false,
"isIdpUser": false,
"lastLoginAt": 0
}