courses
POST /v1/courses/{courseId}/aliases
Changed onCreates an alias for a course. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to create the alias or for access errors. * NOT_FOUND if the course does not exist. * ALREADY_EXISTS if the alias already exists. * FAILED_PRECONDITION if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to access a domain-scoped alias).
Request
- Base URLhttps://classroom.googleapis.com
- URLhttps://classroom.googleapis.com/v1/courses/{courseId}/aliases
- 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
courseIdstring required
Identifier of the course to alias. 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