code: def remove_objects(self, objects, force=False, **kwargs):
          
          api_method = dxpy.api.container_remove_objects
          if isinstance(self, DXProject):
              api_method = dxpy.api.project_remove_objects
  
          api_method(self._dxid,
                     {"objects": objects, "force": force},
                     always_retry=force,  # api call is idempotent under 'force' semantics
                     **kwargs)
docs: :param objects: List of object IDs to remove from the project or container
          :type objects: list of strings
          :param force: If True, will suppress errors for objects that do not exist
          :type force: bool
  
          Removes the specified objects from the project or container.
  
          Removal propagates to any hidden objects that become unreachable
          from any visible object in the same project or container as a
          result of this operation.