Create or update an admin user.
PUT
/adminusers/{userID}
200Description
If an object with the same ID already exists, it will be overwritten.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
userID | Required | string | ID of the user. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Username | Required | string | --- | 100 characters | --- | |
Password | string | password | --- | --- | ||
FirstName | Required | string | --- | 100 characters | --- | |
LastName | Required | string | --- | 100 characters | --- | |
Required | string | --- | 200 characters | --- | ||
Phone | string | --- | 100 characters | --- | ||
TermsAccepted | string | date-time | --- | --- | ||
Active | Required | boolean | --- | --- | --- | |
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
CompanyID | Read Only | string | --- | --- | --- | |
Username | string | --- | 100 characters | --- | ||
Password | string | password | --- | --- | ||
FirstName | string | --- | 100 characters | --- | ||
LastName | string | --- | 100 characters | --- | ||
string | --- | 200 characters | --- | |||
Phone | string | --- | 100 characters | --- | ||
TermsAccepted | string | date-time | --- | --- | ||
Active | boolean | --- | --- | --- | ||
xp | object | --- | --- | --- | ||
AvailableRoles | Read Only | array | --- | --- | --- | |
Locale | Read Only | object | --- | --- | --- | |
DateCreated | Read Only | string | date-time | --- | --- | |
PasswordLastSetDate | Read Only | string | date-time | --- | --- |