def start_update(ref)
      if update_version == 'v2'
        raise InvalidApiVersion, 'There is more than one codebase use sfrest.update.update directly.'
      end

      update_data = { scope: 'sites', sites_type: 'code, db', sites_ref: ref }
      update(update_data)
    end
def start_update(ref)
      if update_version == 'v2'
        raise InvalidApiVersion, 'There is more than one codebase use sfrest.update.update directly.'
      end

      update_data = { scope: 'sites', sites_type: 'code, db', sites_ref: ref }
      update(update_data)
    end
Starts an update.