Set Firmware Password
Change or clear the firmware password on a device.
URL
PUT https://yourmdmhost.example.com/mdm#SetFirmwarePasswordCommandResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/xml | SetFirmwarePasswordResponse | The response object the system returns for the Set Firmware Password Command. |
Discussion
This command has a throttle interval to prevent executing it more frequently than every 30 seconds. Requests that occur within the throttle interval return an error.
After processing the command, the device restarts so that the new firmware password takes effect. This command returns an error and fails if a firmware password is already pending.
Refer to the following sections to determine supported channels and requirements, and to see an example request and response.
This command isn’t supported on a Mac with Apple silicon.
Command availability
Device channel | macOS |
User channel | NA |
Requires supervision | macOS |
Allowed in user enrollment | NA |
Required access right | DeviceLockAndRemovePasscode |
Example request and response
HTTP Body
The request object the server returns for the Set Firmware Password Command.