Update a class
PUT/public/classes/:classId
Replaces the title, section, grade and subject of a class in the instance bound to the caller's API key. Fields left out are cleared, except the title which is required. Only instance owners may call this endpoint.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The updated class.
The title is missing, blank or longer than 256 characters, the subject is longer than 256 characters, or the section or grade is longer than 128 characters.
Missing or invalid API key.
The request is not authenticated with an API key, the API key's user does not own the instance, or the class is linked to an LMS and can only be managed from the LMS.
No class with that ID in the instance.