code: public Group replaceGroup(String id, Group group, AccessToken accessToken) {
          return getGroupService().replaceGroup(id, group, accessToken);
      }
docs: replaces the {@link Group} with the given id with the given {@link Group}
  
  @param id          The id of the Group to be replaced
  @param group       The {@link Group} who will repleace the old {@link Group}
  @param accessToken the OSIAM access token from for the current session
  @return the replaced User
  @throws InvalidAttributeException         in case the id or the Group is null or empty
  @throws UnauthorizedException             if the request could not be authorized.
  @throws ConflictException                 if the Group could not be replaced
  @throws NoResultException                 if no Group with the given id can be found
  @throws ForbiddenException                if the scope doesn't allow this request
  @throws ConnectionInitializationException if the connection to the given OSIAM service could not be initialized
  @throws IllegalStateException             if OSIAM's endpoint(s) are not properly configured