<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 4.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/Restrictions-Command",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rest:put:mdm#RestrictionsCommand"
  },
  "title" : "Restrictions"
}
-->

# Restrictions

Get a list of restrictions on the device.

## Discussion

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

### Command availability

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

### 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>ProfileRestrictions</key>
        <false/>
        <key>RequestType</key>
        <string>Restrictions</string>
    </dict>
    <key>CommandUUID</key>
    <string>0001_Restrictions</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_Restrictions</string>
    <key>GlobalRestrictions</key>
    <dict>
        <key>restrictedBool</key>
        <dict>
            <key>allowCamera</key>
            <dict>
                <key>value</key>
                <false/>
            </dict>
        </dict>
    </dict>
    <key>Status</key>
    <string>Acknowledged</string>
    <key>UDID</key>
    <string>00008020-000915083C80012E</string>
</dict>
</plist>
```

## Topics

### Commands and responses

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

The command to get a list of restrictions on the device.

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

A response from the device after it processes the command to get a list of restrictions on the device.



---

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)