Delete a sitemap
delete_sitemapRemove a sitemap submission from Google Search Console. This cancels the submission without deleting the file from your site, so Google may still find it via robots.txt.
Instructions
Removes a sitemap from Search Console. This does not delete the file from the site, and Google may still discover it via robots.txt — it only removes the submission. Success is an empty API response (surfaced as { ok: true, deleted }). Requires the full webmasters OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedpath | Yes | The full sitemap URL, e.g. "https://example.com/sitemap.xml". | |
| site_url | Yes | The property EXACTLY as registered in Search Console. Two formats: URL-prefix — a full URL with scheme and trailing slash, e.g. "https://example.com/" (http/https and www/non-www are different properties), or domain property — "sc-domain:example.com" (no scheme, no slash). A mismatched value returns 403/404; list_sites shows the exact registered values. |