'Delete scheme of authorization'

def delete_authorization_scheme(self, **kwargs):

    author_scheme_name = kwargs['author_scheme_name']
    first_author_mode = kwargs['first_author_mode']
    module = kwargs['module']
    if (author_scheme_name == 'default'):
        return SUCCESS
    conf_str = (CE_DELETE_AUTHORIZATION_SCHEME % (author_scheme_name, first_author_mode))
    xml = self.netconf_set_config(module=module, conf_str=conf_str)
    if ('<ok/>' not in xml):
        module.fail_json(msg='Error:    Delete    authorization    scheme    failed.')
    cmds = []
    cmd = ('undo    authorization-scheme    %s' % author_scheme_name)
    cmds.append(cmd)
    cmd = 'authorization-mode    none'
    cmds.append(cmd)
    return cmds
