searchconsole.sitemaps.delete
Deletes a sitemap from the Search Console Sitemaps report. Use it to remove a sitemap entry; this does not stop Google crawling and cannot be undone.
Instructions
Deletes a sitemap from the Sitemaps report. Does not stop Google from crawling this sitemap or the URLs that were previously crawled in the deleted sitemap [HTTP DELETE] — removes the resource; irreversible unless the API documents a trash/undo flow; refused under --readonly safety profiles. Returns the post-delete resource state (or empty) as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: get, list, submit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| siteUrl | Yes | [URL path segment] The site's URL, including protocol. For example: `http://www.example.com/`. | |
| feedpath | Yes | [URL path segment] The URL of the actual sitemap. For example: `http://www.example.com/sitemap.xml`. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. |