Skip to main content

PATCH – Update pending BIOS settings

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

Request URL

PATCH https://<BMC_IPADDR>/redfish/v1/Systems/1/Bios/Pending

Request body

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

FieldTypeDescription
AttributesObjectExpanded, the pending data of BIOS attributes

Response

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

Status code

HTTP Status CodeError Message ID
200RebootRequired
403InsufficientPrivilege
500InternalError
503ServiceUnavailable

Example

The following example is PATCH body.

{
"Attributes":{
"DevicesandIOPorts_Device_Slot6":"Disable"
}
}

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

{
"@odata.context" : "/redfish/v1/$metadata#Bios.Bios",
"Id" : "Pending",
"AttributeRegistry" : "BiosAttributeRegistry.1.0.0",
"@odata.id" : "/redfish/v1/Systems/1/Bios/Pending",
"@odata.etag" : "\"150413e15fe8f09a9a53b1f0edf68cfe\"",
"Attributes" : {
"DevicesandIOPorts_Device_Slot6" : "Disable",
"Memory_MemorySpeed" : "MaxPerformance",
"Processors_CPUPstateControl" : "Autonomous",

}
}