POST – Create a custom role
Use the POST method to create a custom role for Redfish service.
Request URL
POST https://<BMC_IPADDR>/redfish/v1/AccountService/Roles
Request body
| Field | Type | Description | |||
|---|---|---|---|---|---|
RoleId | String | A value not duplicated with Pre-defined roles. | |||
OemPrivileges | Array | The value of this property is a set of OEM privileges that this role includes. The values can be
| |||
Response body
The response returns the same content as GET operation with updated properties.
Status code
| HTTP Status Code | Error Message ID |
|---|---|
| 500 | InternalError |
Give documentation feedback