List users in a class
List users in a class of an Apple School Manager organization.
URL
GET https://api-school.apple.com/rosterapi/v1/classes/{classId}/usersPath Parameters
| Name | Type | Description |
|---|---|---|
classId Required | string | A unique class identifier. Use an identifier from the |
Query Parameters
| Name | Type | Description |
|---|---|---|
limit Optional | string | The maximum number of user records to return. The default limit is 100. |
role Optional | string | The role of the user in the class. |
pageToken Optional | string | A token to retrieve the next set of records when the number of users is greater than the |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | Users | The request was successful. |
| 401 | Unauthorized | The access token was invalid. | |
| 403 | Forbidden | Access to the requested user was forbidden. | |
| 404 | Not Found | The server didn’t find a class with the given | |
| 429 | The client made too many requests. The response includes an | ||
| 500 | Internal Server Error | The server encountered an internal error. |