'Renames an object specified by object_id to a new name.'

def rename_item(self, what, object_id, newname, token=None):

    self._log(('rename_item(%s)' % what), object_id=object_id, token=token)
    obj = self.__get_object(object_id)
    self.api.rename_item(what, obj, newname)
    return True
