Deletes a student group member.
This method returns the following error codes:
- PERMISSION_DENIEDif the requesting user is not permitted to delete the requested student group member or for access errors.
- NOT_FOUNDif the student group member does not exist or the user does not have access to the student group.
HTTP request
DELETE https://classroom.googleapis.com/v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers/{userId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| courseId | 
 Required. The identifier of the course containing the relevant student group. | 
| studentGroupId | 
 Required. The identifier of the student group containing the student group member to delete. | 
| userId | 
 Required. The identifier of the student group member to delete. | 
Query parameters
| Parameters | |
|---|---|
| previewVersion | 
 Optional. The preview version of the API. This must be set in order to access new API capabilities made available to developers in the Preview Program. | 
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/classroom.rosters
For more information, see the Authorization guide.