rootUrl, path filters, depth, page caps, robots and
document parsing) take effect on the next crawl, whether that is a scheduled refresh, a
resyncWebSource, or resync: true on this call. Changing rootUrl
re-points the source: the next crawl indexes the new site and removes the old site’s pages
from the index.
For the cadence, daily and weekly schedule automatic re-crawls; manual clears the
schedule so the source is only re-crawled on demand. Cadence changes take effect immediately
and reset the clock: the next scheduled run becomes now plus the new interval. Scheduled
refreshes run on a rolling interval from the last completed run (there is no time-of-day
control).
Required fields: sourceId, plus at least one field to change
Sending
null for a field is rejected with 400; omit the field instead.
Example request
resync is true, the response also carries jobId, reports
status as crawling, and includes effectiveMaxPages; poll the job with
getJobStatus.
400whensourceIdis missing, no field is being changed, a field isnull, a limit is out of range,rootUrlis not a public website address, orrefreshCadenceis notdaily,weekly, ormanual.403PLAN_FEATURE_NOT_INCLUDEDwhenrefreshCadenceisdailyorweeklyand your plan does not include scheduled refresh, orresyncistrueand your plan does not include manual re-sync (Developer). Settingmanualclears the schedule and is allowed on every plan.404if the web source is not found.409WEB_SOURCE_EXISTSwhen the newrootUrlis already registered on this index.409BUILD_IN_PROGRESSwhen a crawl setting is changed while the source is crawling (queued or running). The cadence can be changed at any time. Retry once the crawl completes.429USAGE_LIMIT_EXCEEDEDwhen your organization’s monthly credit is exhausted or its billing is paused; the billing gate runs before the plan feature check.503when the plan check is temporarily unavailable.