code: func (s *GroupsService) RenameGroup(groupID, name string) (*string, *Response, error) {
  	u := fmt.Sprintf("groups/%s/name", groupID)
  	input := struct {
  		Name string `json:"name"`
  	}{
  		Name: name,
  	}
  
  	req, err := s.client.NewRequest("PUT", u, input)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	v := new(string)
  	resp, err := s.client.Do(req, v)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return v, resp, err
  }
docs: // RenameGroup renames a Gerrit internal group.
  // The new group name must be provided in the request body.
  //
  // As response the new group name is returned.
  // If renaming the group fails because the new name is already in use the response is “409 Conflict”.
  //
  // Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-groups.html#rename-group