Reference Guide

Example request
body
{ "UserId":"100",
"MacAddress":"d0:94:66:34:b7:de"
}
/api/AccountService/Actions/AccountService.GetUserDetail
This API returns details of the user who has logged in.
POST method for /api/AccountService/Actions/
AccountService.GetUserDetail
This method returns details of the user who has logged in. The details include user name, user ID, and role details.
Description Returns details the user who has logged in.
Privilege VIEW
HTTP response
codes
202
Example
response body
{
"UserName": "root",
"UserDetails": [
{
"Id": "10042",
"UserName": "root",
"RoleId": "10",
"RoleName": "CHASSIS_ADMINISTRATOR"
}
]
}
/api/AccountService/Actions/AccountService.Enable
This URI enables you to enable multiple accounts.
POST method for AccountService.Enable
This method enables multiple accounts.
Description
Enables multiple accounts.
Privilege SECURITY_SETUP
HTTP response
codes
204
Example request
body
{
"AccountIds":[3164,3264]
}
Table 22. Attributes
Attribute Description
AccountIds Account IDs to be enabled.
Application settings 45