The Role schema contains a Redfish role to use in conjunction with a manager account.
Privilege: Login
Note: This URI has been updated to meet the latest Redfish specification based URI naming conventions. The following non-compliant URI may get deprecated in future releases. Old URI: '/redfish/v1/Managers/iDRAC.Embedded.1/Roles/{RoleId}'
NOTE: As patch method is not supported for this schema, properties with Read-only: False attribute are not updatable.
username:passwordAuthorization: Basic *****************X-Auth-Token: ********************curl --location '/redfish/v1/AccountService/Roles/' \
--header 'Authorization: Basic <encoded-value>'{
"@odata.context": "/redfish/v1/$metadata#Role.Role",
"@odata.id": "/redfish/v1/AccountService/Roles/Operator",
"@odata.type": "#Role.v1_3_2.Role",
"AssignedPrivileges": [
"Login",
"ConfigureComponents",
"ConfigureSelf"
],
"AssignedPrivileges@odata.count": 3,
"Description": "Operator User Role",
"Id": "Operator",
"IsPredefined": true,
"Name": "User Role",
"RoleId": "Operator"
}