code: public void removeFavorites(FavoriteType favoriteType, Set<Long> objectIds) throws SmartsheetException{
          String path = "favorites/" + favoriteType.toString();
          HashMap<String, Object> parameters = new HashMap<String, Object>();
  
          if (objectIds != null) {
              parameters.put("objectIds", QueryUtil.generateCommaSeparatedList(objectIds));
          }
  
          path += QueryUtil.generateUrl(null, parameters);
  
          this.deleteResource(path, Favorite.class);
      }
docs: Deletes a list of favorites (all of the same type)
  
  It mirrors to the following Smartsheet REST API method: DELETE /favorites
  
  Exceptions:
  IllegalArgumentException : if any argument is null
  InvalidRequestException : if there is any problem with the REST API request
  AuthorizationException : if there is any problem with the REST API authorization(access token)
  ResourceNotFoundException : if the resource can not be found
  ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting)
  SmartsheetRestException : if there is any other REST API related error occurred during the operation
  SmartsheetException : if there is any other error occurred during the operation
  
  @param favoriteType the favorite type
  @param objectIds a single Favorite object or an array of Favorite objects
  @throws SmartsheetException the smartsheet exception