Contents

Activation Lock a Device

Enable activation lock on a remote device.

URL

POST https://mdmenrollment.apple.com/device/activationlock

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
ActivationLockStatusResponse

400Bad Request

  • MALFORMED_REQUEST_BODY: The request body is malformed.

  • USER_AGENT_INVALID: The User-Agent header is invalid.

  • USER_AGENT_MISSING: The User-Agent header is missing or has no assigned value.

401Unauthorized

The token has expired. The client should retry with a new auth token.

403Forbidden

The auth token is invalid.

Mentioned in

Discussion

Find My iPhone Activation Lock is a feature of iCloud and Automated Device Enrollment that makes it harder for anyone to use or resell a lost or stolen device. Activation Lock is a feature of iCloud, and MDM has the ability to allow users to enable the feature on supervised devices.

There are two ways to manage Activation Lock: the Activation Lock request is available for devices that appear in the Apple School Manager portal or Apple Business portal, or the Find My approach. Whichever method is the first to enable Activation Lock takes precedence.

HTTP Body

Request enabling activation lock for a device.

Topics

Request and Response

Bypass Codes

See Also

Device Management