Delete
|
|||||
|
|
||||
Deletes a teacher of a course.
This method returns the following error codes:
PERMISSION_DENIEDif the requesting user is not permitted to delete teachers of this course or for access errors.NOT_FOUNDif no teacher of this course has the requested ID or if the course does not exist.FAILED_PRECONDITIONif the requested ID belongs to the primary teacher of this course
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 teacher 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 teacher to delete. The identifier can be one of the following:
|