Method: courses.studentGroups.delete

Deletes a student group.

This method returns the following error codes:

  • PERMISSION_DENIED if the requesting user is not permitted to delete the requested student group or for access errors.
  • NOT_FOUND if the student group 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/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
courseId

string

Required. The identifier of the course containing the student group to delete.

id

string

Required. The identifier of the student group to delete.

Query parameters

Parameters
previewVersion

enum (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.