Deletes a topic
gc_courses_topics_delete(courseId, id)
courseId | Identifier of the course |
---|---|
id | Identifier of the topic to delete |
This method returns the following error codes:
PERMISSION_DENIED
if the requesting user is not allowed to delete therequested topic or for access errors.
FAILED_PRECONDITION
if the requested topic has already beendeleted.
NOT_FOUND
if no course or topic exists with the requested ID.
Authentication scopes used by this function are:
https://www.googleapis.com/auth/classroom.topics
Set options(googleAuthR.scopes.selected = c("https://www.googleapis.com/auth/classroom.topics")
Then run googleAuthR::gar_auth()
to authenticate.
See gar_auth
for details.