Deletes a course.

gc_courses_delete(id)

Arguments

id

Identifier of the course to delete

Details

This method returns the following error codes:

  • PERMISSION_DENIED if the requesting user is not permitted to delete therequested course or for access errors.

  • NOT_FOUND if no course exists with the requested ID.

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.

See also