Skip to main content

POST – Change BIOS password

Request

POST https://{{ip}}/redfish/v1/Systems/Self/Bios/Actions/Bios.ChangePassword
Content-Type: application/json

Request body

{
"PasswordName": "SETUP001",
"OldPassword": "old",
"NewPassword": "new"
}

BIOS Security Policy
Important
  1. The password needs to follow BIOS Security Policy.

  2. BMC will check the policy but will not check whether the OldPassword is correct.

  3. The OldPassword will be verified by BIOS on the next system reboot.

  4. Therefore, the POST operation may be successful, but it does not mean that the password can be changed successfully.

  5. BIOS will take a second verification.

  6. The second verification result will not be displayed here.

Response

The response status is 204. For Error Responses, please refer to Error Response.

Note
Out Of Band request for this action will be blocked during the Host System Booting until the Inventory is processed by the Redfish service and the request will respond with status code 503 and Service Not Available message.