Deletes an alias of a course
gc_courses_aliases_delete(courseId, alias)
courseId | Identifier of the course whose alias should be deleted |
---|---|
alias | Alias to delete |
This method returns the following error codes:
PERMISSION_DENIED
if the requesting user is not permitted to remove thealias or for access errors.
NOT_FOUND
if the alias does not exist.
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 delete a domain-scoped alias).
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.courses
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.courses")
Then run googleAuthR::gar_auth()
to authenticate.
See gar_auth
for details.