User Manual

4-96
Chapter 4: Redfish Technology Pack
• Response
The response status is success with status code as 204 and no body. For Error
Responses refer to section
4.2.4 B
and section
4.2.4 C
.
4.3.34 Role Collection
It displays a collection of ID’s subscribed to the roles in Redfish.
A. GET
• Request
https://{{ip}}/redfish/v1/AccountService/Roles
Content-Type: application/json
• Response
Please refer to section
4.3.5 Computer System Collection
for the JSON response
properties.
B. POST [Creating new Custom Role]
• Request
POST https://{{ip}}/redfish/v1/AccountService/Roles
Content-Type: application/json
Request Body
Creation of a custom Role requires that the Id and Name properties be in the request
body. In addition to these properties, either AssignedPrivileges, OemPrivileges, or both
AssignedPrivileges and OemPrivileges must be in the request body.
E16160_ASMB9-iKVM_UM_V3.indb 96E16160_ASMB9-iKVM_UM_V3.indb 96 1/17/2020 2:29:31 PM1/17/2020 2:29:31 PM