'Deletes an item from a collection.
Note that this requires the name of the distro, not an item handle.'

def remove_item(self, what, name, token, recursive=True):

    self._log(('remove_item    (%s,    recursive=%s)' % (what, recursive)), name=name, token=token)
    obj = self.api.get_item(what, name)
    self.check_access(token, ('remove_%s' % what), obj)
    self.api.remove_item(what, name, delete=True, with_triggers=True, recursive=recursive)
    return True
