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

# Declarative Management

Enable your server to support declarative management or trigger a declarative management synchronization operation on the device.

## Discussion

The server uses this command to turn on the declarative management engine on the device the first time the server sends it. Subsequent commands trigger a declarative management synchronization operation.

### Command availability

|||
|--------------------------|------------------------------------------------|
|Device channel            |iOS, macOS, Shared iPad, tvOS, visionOS, watchOS|
|User channel              |macOS, Shared iPad                              |
|Requires supervision      |N/A                                             |
|Allowed in user enrollment|iOS, macOS, visionOS                            |
|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>CommandUUID</key>
        <string>0001_DeclarativeManagement</string>
        <key>Command</key>
        <dict>
            <key>RequestType</key>
            <string>DeclarativeManagement</string>
            <key>Data</key>
            <data>
            eyJTeW5jVG9rZW5zIjogeyJUaW1lc3RhbXAiOiAiMjAyMS0wNi0wMlQwMToy
            ODowMFoiLCAiRGVjbGFyYXRpb25zVG9rZW4iOiAiYjY1NDQwMjdhMzE1Y2Qw
            MDg1ZDRjZjA4MTc0NjI0YzJkMTQyNDQ0ODA0MzBhODdiMTc2YTI3MjdlNzM2
            NjEzOCJ9fQ==
            </data>
        </dict>
    </dict>
</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_DeclarativeManagement</string>
    <key>EnrollmentID</key>
    <string>8DB29EAB-A5BB-4B60-8DDA-F75517766FAC</string>
    <key>Status</key>
    <string>Acknowledged</string>
</dict>
</plist>
```

## Topics

### Commands and responses

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

The command to enable your server to support declarative management or trigger a declarative management synchronization operation on the device.

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

A response from the device after it processes the command to enable your server to support declarative management or trigger a declarative management synchronization operation 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)