courses

PATCH /v1/courses/{courseId}/studentGroups/{id}

Changed on

Updates one or more fields in a student group. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to modify 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. * INVALID_ARGUMENT if invalid fields are specified in the update mask or if no update mask is supplied.

Request

  • Base URL
    https://classroom.googleapis.com
  • URL
    https://classroom.googleapis.com/v1/courses/{courseId}/studentGroups/{id}
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/classroom.rosters
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/classroom.rosters

Path parameters

courseIdstring required

Required. Identifier of the course.

idstring required

Required. Identifier of the student group.

Query parameters

updateMaskstring google-fieldmask

Required. Mask that identifies which fields on the student group to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields can be specified by teachers: * title

Request body

courseIdstring

The identifier of the course.

idstring

The identifier of the student group.

titlestring

The title of the student group.

Response

Successful response

courseIdstring

The identifier of the course.

idstring

The identifier of the student group.

titlestring

The title of the student group.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status