---
title: Set Firmware Password
framework: devicemanagement
role: symbol
role_heading: Web Service Endpoint
path: devicemanagement/set-firmware-password-command
---

# Set Firmware Password

Change or clear the firmware password on a device.

## URL

PUT https://yourmdmhost.example.com/mdm

## Response Codes

200 OK: The response object the system returns for the Set Firmware Password Command.

## Discussion

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. important: There’s no way to set or clear a firmware password in MDM without knowing the current password, unless the server provides a way to prompt the administrator for the current password. Contact AppleCare service and support if the current password is unknown. 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  |   |   |   |   |   |  Example request and response

## HTTP Body

The request object the server returns for the Set Firmware Password Command.

## Topics

### Commands and responses

- [SetFirmwarePasswordCommand](devicemanagement/setfirmwarepasswordcommand.md)
- [SetFirmwarePasswordResponse](devicemanagement/setfirmwarepasswordresponse.md)

## See Also

### Passwords

- [Clear Passcode](devicemanagement/clear-passcode-command.md)
- [Clear Restrictions Password](devicemanagement/clear-restrictions-password-command.md)
- [Unlock User Account](devicemanagement/unlock-user-account-command.md)
- [Set Auto Admin Password](devicemanagement/set-auto-admin-password-command.md)
- [Verify Firmware Password](devicemanagement/verify-firmware-password-command.md)
