This method returns the following error codes:* PERMISSION_DENIED if the requesting user is not permitted to delete therequested invitation or for access errors.* NOT_FOUND if no invitation exists with the requested ID.

gc_invitations_delete(id)

Arguments

id

Identifier of the invitation to delete

Details

Authentication scopes used by this function are:

  • https://www.googleapis.com/auth/classroom.rosters

Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.rosters") Then run googleAuthR::gar_auth() to authenticate. See gar_auth for details.

See also