100% found this document useful (2 votes)
2K views

Get The Bypass Code For Activation Lock - Apple Developer Documentation

Template

Uploaded by

6tr9t2xxgd
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
2K views

Get The Bypass Code For Activation Lock - Apple Developer Documentation

Template

Uploaded by

6tr9t2xxgd
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Documentation

Web Service Endpoint

Get the Bypass Code for Activation


Lock
Get the code to bypass Activation Lock on a device.

iOS 7.1+ iPadOS 7.1+ macOS 10.15+

URL

HTTP Body
ActivationLock The command to get the code to bypass Activation Lock on a
BypassCodeCommand device.
Content-Type: application/x-apple-aspen-mdm

Response Codes
200 OK
ActivationLock A response from the device after it processes the command to get
BypassCode the Activation Lock bypass code.
Response Content-Type: application/xml

Discussion
:
Discussion
iOS 7.1 adds support for bypassing Activation Lock. This allows organizations to
remove the Activation Lock from supervised devices prior to device activation
without knowing the userʼs personal Apple ID and password. Use this command to
retrieve the deviceʼs bypass code.

When an iOS device is a supervised device, it generates a device-specific Activation


Lock bypass code. The activation server verifies this code to bypass Activation Lock
on the device. For more information, see Creating and Using Bypass Codes.

A device creates a new bypass code when:

Setting up the device the first time.

Erasing and not restoring the device from a backup.

Erasing and restoring the device from a backup from a different device.

Query Availability

Device Channel iOS, macOS

User Channel -

Requires Supervision iOS, macOS

Allowed in User Enrollment -

Required Access Right -

Example Request and Response


:
Request Response

1 <?xml version="1.0" encoding="UTF-8"?>


2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple
3 <plist version="1.0">
4 <dict>
5 <key>ActivationLockBypassCode</key>
6 <string>A8QK7-GFG21-6RHT-V0U9-756P-L7E3</string>
7 <key>CommandUUID</key>
8 <string>0001_ActivationLockBypassCode</string>
9 <key>Status</key>
10 <string>Acknowledged</string>
11 <key>UDID</key>
12 <string>00008020-000915083C80012E</string>
13 </dict>
14 </plist>

Topics

Command and Response


object ActivationLockBypassCodeCommand
The command to get the code to bypass Activation Lock on a device.

object ActivationLockBypassCodeResponse
A response from the device after it processes the command to get the
Activation Lock bypass code.

See Also
:
Security
Security Information
Get security-related information about a device.

List the Certificates


Get a list of installed certificates on a device.

Clear the Bypass Code for Activation Lock


Clear the Activation Lock bypass code on a device.

Rotate the FileVault Key


Change the FileVault primary password on a device.
:

You might also like