Skip to main content

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.

FieldTypeDescription

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 CodeError Message ID
500InternalError