Sync the List of Devices
Get updates about the list of devices the server manages.
URL
POST https://mdmenrollment.apple.com/devices/syncResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | FetchDeviceResponse | |
| 400 | Bad Request |
|
Discussion
The sync service depends on a cursor returned by the fetch device service. It returns a list of all modifications (additions or deletions) since the specified cursor. The cursor passed to this endpoint should not be older than 7 days.
This service may return the same device more than once. You must resolve duplicates by matching on the device serial number and the op_type and op_date fields. The record with the latest op_date indicates the last known state of the device in DEP.
HTTP Body
The request to sync the list of devices.