PATCH – Update enclosure properties
Use the PATCH method to update properties in enclosure resource for Redfish service.
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/Chassis/Enclosure
Request body
Properties to be updated are shown as bellow, all of these properties can be changed individually.
Field | Type | Description | |||
---|---|---|---|---|---|
Oem | Object | Expanded. | |||
Lenovo | Object | Expanded. | |||
LANEnabled | String | “Enable” or “Disable”. | |||
Oem | Object | Expanded. | |||
Lenovo | Object | Expanded. | |||
IPMIEnabled | String | “Enable” or “Disable”. |
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