Delete
|
|||||
|
|
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
Name | Format | Description |
---|---|---|
courseId Required |
STRING |
Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias |
userId Required |
STRING |
Identifier of the student to delete. The identifier can be one of the following:
|
= 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:
|