Skip to main content

PATCH – Update pending System settings

Use the PATCH method to update properties in System 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.

Field

Type

Description

Boot

Object

Expanded

 

BootOrder

Array

Items: string

Item count: N

The pending data of BootOrder attributes.

Item count shall not be “0”.

  

BootOrder[N]

String

BootOptionReference strings that represent the persistent boot order for with this computer system.

Response

The response returns same content as GET operation with updated properties

Status code

HTTP Status CodeError Message ID

200

RebootRequired

403

InsufficientPrivilege

500

InternalError

503

ServiceUnavailable

Example

The following example is PATCH body.

{
"Boot": {
"BootOrder": [
"Boot0005",
"Boot0000",
"Boot0001",
"Boot0002",
"Boot0004",
"Boot0003"
]
}
}

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

{
"@odata.type": "#ComputerSystem.v1_17_0.ComputerSystem",
"@odata.id": "/redfish/v1/Systems/1/Pending",
"Name": "Pending",
"@odata.etag": "\"28890012cdd525a5ec9\"",
"Boot": {
"BootOrder": [
"Boot0005",
"Boot0000",
"Boot0001",
"Boot0002",
"Boot0004",
"Boot0003"
]
},
"@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
"Id": "Pending",
"Description": "ComputerSystem 1 Pending Setting"
}