def revert(isamAppliance, resource_id, check_mode=False, force=False):
    """
    Reverting a previously updated runtime configuration file
    """
    if check_mode is True:
        return isamAppliance.create_return_object(changed=True)
    else:
        return isamAppliance.invoke_put(
            'Reverting a previously updated runtime configuration file',
            '/isam/advanced_configuration/{0}'.format(resource_id), {
            'operation': 'revert'})
