Skip to main content

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.

FieldTypeDescription

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
  • Supervisor

  • ReadOnly

  • Configuration_NetworkingAndSecurity

  • UserAccountManagement

  • RemoteConsoleAccess

  • RemoteConsoleAndVirtualMediaAccess

  • RemoteServerPowerRestartAccess

  • Configuration_Basic

  • AbilityClearEventLogs

  • Configuration_Advanced

  • Configuration_UEFISecurity

Response

The response returns same content as GET operation with updated properties.

Status code

HTTP Status CodeError Message ID
500InternalError