Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation.
This method returns the following error codes:
PERMISSION_DENIEDif the requesting user is not permitted to accept the requested invitation or for access errors.
FAILED_PRECONDITIONfor the following request errors:
NOT_FOUNDif no invitation exists with the requested ID.
The URL uses gRPC Transcoding syntax.
Identifier of the invitation to accept.
The request body must be empty.
If successful, the response body will be empty.
Requires the following OAuth scope:
For more information, see the OAuth 2.0 Overview.