PATCH – Change Role Instance
Request
PATCH https://{{ip}}/redfish/v1/AccountService/Roles/{{role_instance}}
Content-Type: application/json
Request body
Example Request Body for Editing a role
Please refer to the properties that are patchable in Role Properties for which ReadOnly is False that can be sent as Request body in JSON format.
{
"AssignedPrivileges": [
"ConfigureComponents",
"Login",
"ConfigureSelf"
]
}
Response
The response status is 204 with no response body. For Error Responses, please refer to Error Response.
PATCH is supported for User defined Roles and is not supported for Predefined Roles.
Error response with 405 Method Not allowed is displayed if request body content type is chosen as application/json. Otherwise, 415 Unsupported Media Type would be displayed.
Give documentation feedback