code: public void delete(String photoId, String userId) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_DELETE);
  
          parameters.put("photo_id", photoId);
          parameters.put("user_id", userId);
  
          Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
      }
docs: Delete the person from the photo
  
  @param photoId
  @param userId
  @throws FlickrException