Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

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#RoleCollection.RoleCollection",
    "@odata.type": "#RoleCollection.RoleCollection",
    "@odata.id": "/redfish/v1/AccountService/Roles",
    "Description": "Role Collection",
    "Name": "Role Collection",
    "Oem": null,
    "Members@odata.count": 5,
    "Members": [
        {
            "@odata.id": "/redfish/v1/AccountService/Roles/Members('11')"
        },
        {
            "@odata.id": "/redfish/v1/AccountService/Roles/Members('12')"
        },
        {
            "@odata.id": "/redfish/v1/AccountService/Roles/Members('15')"
        },
        {
            "@odata.id": "/redfish/v1/AccountService/Roles/Members('16')"
        },
        {
            "@odata.id": "/redfish/v1/AccountService/Roles/Members('10')"
        }
    ]
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\