General Information
...
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
tId | Body or Query | YES | String | N/A | the Id of the tenant where this user is added |
tCode | Body or Query | YES | String | N/A | the code of the tenant |
username | Body | YES | String | alphanumeric with _ , - characters only | |
firstName | Body | YES | String | N/A | |
lastName | Body | YES | String | N/A | |
Body | YES | String | N/A | ||
profile | Body | NO | Object | N/A | The profile object. |
groups | Body | NO | Array | N/A | array of group code values |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": "..." } |
...
Error Codes
Code | Description | ||
---|---|---|---|
400 | Database connection error | ||
402 | User account already exists. | 403 | Unable to register user. please try again. |
414 | Unable to add user. | ||
611 | invalid tenant id provided |
Example (CURL)
...