def del_view_menu(self, name):
        """
        Deletes a ViewMenu from the backend

        :param name:
            name of the ViewMenu
        """
        obj = self.find_view_menu(name)
        if obj:
            try:
                obj.delete()
            except Exception as e:
                log.error(c.LOGMSG_ERR_SEC_DEL_PERMISSION, e)

        Deletes a ViewMenu from the backend

        :param name:
            name of the ViewMenu
        
flask_appbuilder/security/mongoengine/manager.py