Skip to main content

POST – Change BIOS password settings

Use the POST method to change BIOS password settings

Request URL

POST https://<BMC_IPADDR>/redfish/v1/Systems/1/Bios/Actions/Bios.ChangePassword

Request body

FieldTypeDescription

title

String

ChangePassword

target

Link

The link of this action.

PasswordName

String

"UefiAdminPassword" or "UefiPowerOnPassword".

OldPassword

String

Configure parameter OldPassword.

NewPassword

String

Configure parameter NewPassword, empty value will clear current password. If it's not empty, the password length must be at least 8 and at most 20. The password rule shall follow the Lenovo UEFI password rule, no three continuous and same characters appear in password.

Note
To recover UEFI Admin password, leave both OldPassword and NewPassword empty to clear it.

Response body

None

Status code

HTTP Status CodeError Message ID
200RebootRequired
400ActionParamFormatError
403InsufficientPrivilege
500InternalError