courses

POST /v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers

Changed on

Creates a student group member for a student group. This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to create the student group or member for access errors. * NOT_FOUND if the student group does not exist or the user does not have access to the student group. * ALREADY_EXISTS if the student group member already exists. * FAILED_PRECONDITION if attempting to add a member to a student group that has reached its member limit.

Request

  • Base URL
    https://classroom.googleapis.com
  • URL
    https://classroom.googleapis.com/v1/courses/{courseId}/studentGroups/{studentGroupId}/studentGroupMembers
  • 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. The identifier of the course.

studentGroupIdstring required

Required. The identifier of the student group.

Request body

courseIdstring

The identifier of the course.

studentGroupIdstring

The identifier of the student group.

userIdstring

Identifier of the student.

Response

Successful response

courseIdstring

The identifier of the course.

studentGroupIdstring

The identifier of the student group.

userIdstring

Identifier of the student.

Changes

    • breaking

      removed the request body

    • breaking

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