Skip to main content

PATCH – Update chassis asset tag and location LED and other location properties

Use the PATCH method to update properties in Chassis resource for Redfish service.

Request URL

PATCH https://<BMC_IPADDR>/redfish/v1/Chassis/1

Request body

Properties to be updated are shown as bellow, all of these properties can be changed individually.

FieldTypeError Message ID

AssetTag

String

The user assigned asset tag for this chassis.

Maximum string length of AssetTag is 32.

IndicatorLED

String

The state of the indicator LED, used to identify the chassis.

Available value is either “Lit” or “Blinking” or “Off”.

Location

Object

The location of chassis.

 

Contacts

Array

An array of contact information.

  

Contacts[0]

Object

Expanded

   

ContactName

String

Name of this contact.

 

Placement

Object

A place within the addressed location.

  

Rack

String

The name of a rack location within a row.

  

RackOffset

Integer

The vertical location of the item, in terms of RackOffsetUnits.

 

PostalAddress

Object

The postal address of the addressed Resource.

  

Building

String

The name of the building.

  

Location

String

The room designation or other additional information.

  

Name

String

The name.

   

Room

String

The name or number of the room.

Response

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

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example is PATCH body.

{
"AssetTag" : "ABC-1-2"
}

After the PATCH operation runs successfully, querying the chassis resource returns below example JSON response:

{

"AssetTag": "ABC-1-2",

}