API Guide

Table Of Contents
redfish/v1/AccountService/Roles/Members
This API gets a list of all roles of members.
GET method for Roles
This method returns the role details of members.
Description Returns role details of the members.
Privilege VIEW
HTTP response
code
200
Example
response body
{
"@odata.context": "/redfish/v1/$metadata#Collection(Role.v1_2_2.Role)",
"@odata.count": 5,
"value":[
{
"@odata.type": "#Role.v1_2_2.Role",
"@odata.id": "/redfish/v1/AccountService/Roles/Members('10')",
"Id": "10",
"Description": "Privileges to do all operations",
"Name": "CHASSIS_ADMINISTRATOR",
"IsPredefined": true
},
{
"@odata.type": "#Role.v1_2_2.Role",
"@odata.id": "/redfish/v1/AccountService/Roles/Members('11')",
"Id": "11",
"Description": "Allowed to deploy services from a template and perform
operations on service. Limited to compute sleds only",
"Name": "COMPUTE_MANAGER",
"IsPredefined": true
},
{"@odata.type": "#Role.v1_2_2.Role", "@odata.id": "/redfish/v1/
AccountService/Roles/Members('12')",},
{"@odata.type": "#Role.v1_2_2.Role", "@odata.id": "/redfish/v1/
AccountService/Roles/Members('15')",},
{
"@odata.type": "#Role.v1_2_2.Role",
"@odata.id": "/redfish/v1/AccountService/Roles/Members('16')",
"Id": "16",
"Description": "Read-only privileges across the system",
"Name": "VIEWER",
"IsPredefined": true
}
]
}
/redfish/v1/AccountService/Roles/Members(Id)
This URI represents the role details of a specific account.
GET method for Members(Id)
This method returns the details of the role for a specific account.
Description
Returns the details of a role.
Privilege VIEW
HTTP response
codes
200
730 Redfish resource model