Contents

Set Recovery Lock

Set or clear the Recovery Lock password.

URL

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

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/xml
SetRecoveryLockResponse

The response object the system returns for the Set Recovery Lock Command.

Discussion

This command sets, or clears, a password on booting to recoveryOS. When the device unenrolls MDM the system removes the recovery password.

This command is only available on a Mac with Apple silicon.

Command availability

Device channel

macOS

User channel

N/A

Requires supervision

macOS

Allowed in user enrollment

N/A

Required access right

DeviceLockAndRemovePasscode

Example request and response

HTTP Body

The request object the server returns for the Set Recovery Lock Command.

Topics

Commands and responses

See Also

Recovery Lock