code: func (s *ConfigService) ConfirmEmail(input *EmailConfirmationInput) (*Response, error) {
  	u := "config/server/email.confirm"
  
  	req, err := s.client.NewRequest("PUT", u, input)
  	if err != nil {
  		return nil, err
  	}
  
  	return s.client.Do(req, nil)
  }
docs: // ConfirmEmail confirms that the user owns an email address.
  // The email token must be provided in the request body inside an EmailConfirmationInput entity.
  //
  // The response is “204 No Content”.
  // If the token is invalid or if it’s the token of another user the request fails and the response is “422 Unprocessable Entity”.
  //
  // Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-config.html#confirm-email