---
title: Sync the List of Classes
framework: devicemanagement
role: symbol
role_heading: Web Service Endpoint
path: devicemanagement/fetch-class-roster-sync
---

# Sync the List of Classes

Get updates about the list of classes the server manages.

## URL

POST https://mdmenrollment.apple.com/roster/class/sync

## Response Codes

200 OK: The request was successful. The server returns a list of classes. 400 Bad Request: The server was unable to process the request.

## Discussion

Discussion This sync service uses a cursor that is returned by the full class-roster service. It returns a list of all modifications (additions or deletions) made since the cursor date, for up to 7 days. This service may return the same class more than once. You can identify duplicates by matching their unique_identifier values.

## HTTP Body

The object containing the request information.

## See Also

### Class management

- [RosterClass](devicemanagement/rosterclass.md)
- [Get the List of Classes](devicemanagement/fetch-class-roster.md)
