PUT /v1/courses/{id}
Changed onUpdates a course. Note: Unlike other fields, levels is not cleared if omitted from the request. The UpdateCourse method only modifies levels if it is explicitly provided; otherwise, the existing value is preserved. Use the PatchCourse method to clear the levels field. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to modify the requested course or for access errors. * NOT_FOUND if no course exists with the requested ID. * FAILED_PRECONDITION for the following request errors: * CourseNotModifiable * CourseTitleCannotContainUrl
Request
- Base URLhttps://classroom.googleapis.com
- URLhttps://classroom.googleapis.com/v1/courses/{id}
- AuthOAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/classroom.coursesAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.courses
Path parameters
Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias.
Request body
Response
Successful response
Changes
- breaking
removed the request body
- breaking
removed the media type
*/*for the response with the status
- breaking