API Guide
Table 16. Attributes (continued)
Attribute Description
UserTypeId Type of user.
DirectoryServiceId Directory service ID.
Description Description for the user.
Name Name of the user. This name is the same as user name.
Password Password for the user. When retrieving the details, Password
is displayed as blank.
UserName User name of the account.
RoleId Role for the account.
Locked Indicates if the account is locked or unlocked.
IsBuiltin Indicates if the account is an in-built account.
Enabled Indicates if the account enabled or disabled.
Permissions Permissions for this account.
POST method for Accounts
This method creates an account.
Description
Creates an account.
Privilege SECURITY_SETUP
HTTP response
codes
201
Example request
body
{
"UserTypeId": 1,
"DirectoryServiceId": 0,
"Description": "user1 description",
"Name": "user1",
"Password": "Dell123$",
"UserName": "user1",
"RoleId": "10",
"Locked": false,
"Enabled": true
}
Example
response body
{
"Id": "2964",
"UserTypeId": 1,
"DirectoryServiceId": 0,
"Name": "user1",
"Password": null,
"UserName": "user1",
"Description": "user1 description",
"Oem": null,
"RoleId": "10",
"Locked": false,
"IsBuiltin": false,
"Enabled": true
}
Application settings 41