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).
HTTP request
POST https://classroom.googleapis.com/v1/courses/{courseId}/aliases
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["Creates an alias for a specified course using a POST request."],["Requires a `courseId` path parameter and a request body containing a `CourseAlias` object."],["Returns a newly created `CourseAlias` object upon successful execution."],["May return errors like `PERMISSION_DENIED`, `NOT_FOUND`, `ALREADY_EXISTS`, or `FAILED_PRECONDITION` depending on the context."],["Needs authorization with the `https://www.googleapis.com/auth/classroom.courses` scope."]]],[]]