<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 7.0.0 -",
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/Request-Mirroring-Command",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rest:put:mdm#RequestMirroringCommand"
  },
  "title" : "Request Mirroring"
}
-->

# Request Mirroring

Prompt the user to share their screen using AirPlay Mirroring.

## Discussion

Provide either the `DestinationName` or the `DestinationDeviceID`. If you provide both values, MDM uses `DestinationDeviceID`.

Refer to the following sections to determine supported channels and requirements, and to see an example request and response.

### Command availability

|||
|--------------------------|-----------------------|
|Device channel            |iOS, macOS, Shared iPad|
|User channel              |N/A                    |
|Requires supervision      |N/A                    |
|Allowed in user enrollment|iOS, macOS             |
|Required access right     |N/A                    |

### Example request and response

**Request:**

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Command</key>
    <dict>
        <key>DestinationName</key>
        <string>Apple TV</string>
        <key>Password</key>
        <string>password</string>
        <key>RequestType</key>
        <string>RequestMirroring</string>
        <key>ScanTime</key>
        <integer>30</integer>
    </dict>
    <key>CommandUUID</key>
    <string>0001_RequestMirroring</string>
</dict>
</plist>
```

**Response:**

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CommandUUID</key>
    <string>0001_RequestMirroring</string>
    <key>MirroringResult</key>
    <string>Unknown</string>
    <key>Status</key>
    <string>Acknowledged</string>
    <key>UDID</key>
    <string>00008020-000915083C80012E</string>
</dict>
</plist>
```

## Topics

### Commands and responses

[`RequestMirroringCommand`](/documentation/DeviceManagement/RequestMirroringCommand)

The command to prompt the user to share their screen using AirPlay Mirroring.

[`RequestMirroringResponse`](/documentation/DeviceManagement/RequestMirroringResponse)

A response from the device after it processes the command to prompt the user to share their screen using AirPlay Mirroring.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)