Google Classroom add-ons are now generally available to developers! Please see the
add-ons documentation for more information.
REST Resource: courses.studentGroups
Stay organized with collections
Save and categorize content based on your preferences.
Resource: StudentGroup
A student group in a course.
JSON representation |
{
"courseId": string,
"id": string,
"title": string
} |
Fields |
courseId |
string
The identifier of the course.
|
id |
string
The identifier of the student group.
|
title |
string
The title of the student group.
|
Methods |
|
Creates a student group for a course. |
|
Deletes a student group. |
|
Returns a list of groups in a course. |
|
Updates one or more fields in a student group. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],[],null,["# REST Resource: courses.studentGroups\n\n- [Resource: StudentGroup](#StudentGroup)\n - [JSON representation](#StudentGroup.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: StudentGroup\n----------------------\n\nA student group in a course.\n\n| JSON representation |\n|---------------------------------------------------------------|\n| ``` { \"courseId\": string, \"id\": string, \"title\": string } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------|\n| `courseId` | `string` The identifier of the course. |\n| `id` | `string` The identifier of the student group. |\n| `title` | `string` The title of the student group. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/workspace/classroom/reference/rest/v1/courses.studentGroups/create) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Creates a student group for a course. |\n| ### [delete](/workspace/classroom/reference/rest/v1/courses.studentGroups/delete) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Deletes a student group. |\n| ### [list](/workspace/classroom/reference/rest/v1/courses.studentGroups/list) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Returns a list of groups in a course. |\n| ### [patch](/workspace/classroom/reference/rest/v1/courses.studentGroups/patch) | | **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. This feature is available in [V1_20250630_PREVIEW](https://developers.google.com/workspace/classroom/reference/rest/v1/PreviewVersion) and later. See [Access Preview APIs](https://developers.google.com/workspace/classroom/reference/preview) to learn more. Updates one or more fields in a student group. |"]]