API Guide

Table Of Contents
"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
Example
response body
{
"@odata.context": "$metadata#Role.Role/$entity",
"@odata.id": "/redfish/v1/AccountService/Roles/Members('10')",
"Oem": null,
"Id": "10",
"Description": "Privileges to do all operations",
"Name": "CHASSIS_ADMINISTRATOR"
}
Table 208. Attributes
Attribute name Description
Id Record ID of the role.
Description Description of the role.
Name Name of the role.
Redfish resource model 659