deleteIndex to remove
the whole index and every source on it.
The pages are removed by a purge job. Until it completes, the source reports status
removing and still appears in listWebSources; afterwards it is gone.
Poll purgeJobId with getJobStatus to know when the
index no longer contains the source’s pages.
A crawl that is still queued for the source is cancelled and the delete goes ahead. A crawl
that is already running blocks the delete with 409; retry after it completes.
Required fields: sourceId
Example request
Errors
400whensourceIdis missing.404if the web source is not found.409BUILD_IN_PROGRESSwhen the source’s crawl is running. Retry once it completes.