code: def delete_items(portal_type=None, uid=None, endpoint=None, **kw):
      
  
      # disable CSRF
      req.disable_csrf_protection()
  
      # try to find the requested objects
      objects = find_objects(uid=uid)
  
      # We don't want to delete the portal object
      if filter(lambda o: is_root(o), objects):
          fail(400, "Can not delete the portal object")
  
      results = []
      for obj in objects:
          # We deactivate only!
          deactivate_object(obj)
          info = IInfo(obj)()
          results.append(info)
  
      if not results:
          fail(404, "No Objects could be found")
  
      return results
docs: delete items
  
      1. If the uid is given, we can ignore the request body and delete the
         object with the given uid (if the uid was valid).
      2. If no uid is given, the user wants to delete more than one item.
         => go through each item and extract the uid. Delete it afterwards.
         // we should do this kind of transaction base. So if we can not get an
         // object for an uid, no item will be deleted.
      3. we could check if the portal_type matches, just to be sure the user
         wants to delete the right content.