API Guide

Example
Input:
Output:
Table 198. Attributes
Attribute name Description
Id ID of the account to be deleted.
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 resource model
569