PATCH – Update custom role privileges
Use the PATCH method to update properties in Role resource for Redfish service.
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/AccountService/Roles/$RoleId
Request body
Properties to be updated are shown as below, all of these properties can be changed individually.
Field | Type | Description |
---|---|---|
OemPrivileges | Array | The value of this property is a set of OEM privileges that this role includes. For pre-defined roles, this property shall be readOnly. The values can be
|
Response
The response returns same content as GET operation with updated properties.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Give documentation feedback