POST api/users
Creates a new user account with optional group assignments and SSO configuration.
Request Information
URI Parameters
None.
Body Parameters
The user creation payload including username, name, email, password, group tags, and flags.
CreateUserDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| userName |
User Name - User account required to logon to the system |
string |
None. |
| firstName |
First Name |
string |
None. |
| lastName |
Last Name |
string |
None. |
|
Users email address |
string |
None. |
|
| password |
Initial password for the user |
string |
None. |
| encryptPassword |
Flag indicating if supplied password should be encrypted (should be false if password is already encrypted). |
boolean |
None. |
| groupTags |
The tags of the groups the user should be added to. |
Collection of string |
None. |
| isTsIngestUser |
The bit for tsingestuser defaults 0. |
integer |
None. |
| ssoUser |
The bit for SSO User defaults 0. |
integer |
None. |
Request Formats
application/json, text/json, application/scim+json
{
"userName": "sample string 1",
"firstName": "sample string 2",
"lastName": "sample string 3",
"email": "sample string 4",
"password": "sample string 5",
"encryptPassword": true,
"groupTags": [
"sample string 1",
"sample string 2"
],
"isTsIngestUser": 7,
"ssoUser": 8
}
application/x-www-form-urlencoded
Response Information
Resource Description
On success: HTTP 200 OK with the ID of the newly created user. On failure: HTTP 400 Bad Request with a descriptive error message, or HTTP 500 if insertion fails unexpectedly.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample not available.