Read a location
Returns a specific location in an Apple School Manager organization.
URL
GET https://api-school.apple.com/rosterapi/v1/locations/{locationId}Path Parameters
| Name | Type | Description |
|---|---|---|
locationId Required | string | The identifier from the class. Use the |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | Location | The request was successful. |
| 401 | Unauthorized | The access token was invalid. | |
| 403 | Forbidden | You don’t have permission to access the requested location. | |
| 404 | Not Found | The server didn’t find a location with the given | |
| 429 | The client made too many requests. The response includes an | ||
| 500 | Internal Server Error | The server encountered an internal error. |
Discussion
Access to the locations resource requires authorization to either the edu.users.read or edu.classes.read scope.