Delete

Deletes a student of a course

2 variables
0 variables

Deletes a student of a course.

This method returns the following error codes:

  • PERMISSION_DENIED if the requesting user is not permitted to delete students of this course or for access errors.
  • NOT_FOUND if no student of this course has the requested ID or if the course does not exist

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage your Google Classroom class rosters

Input

This building block consumes 2 input parameters

  = Parameter name
  = Format

courseId STRING Required

Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias

userId STRING Required

Identifier of the student to delete. The identifier can be one of the following:

  • the numeric identifier for the user
  • the email address of the user
  • the string literal "me", indicating the requesting user