Delete a sitemap
gsc_delete_sitemapRemove a sitemap from a Search Console property to deregister it. Google stops tracking the sitemap, but the file remains on your server.
Instructions
Remove a sitemap from a property in Search Console. This is a DESTRUCTIVE write action: it deregisters the sitemap (it does not delete the file from your server, but Google stops tracking it). Requires the full webmasters OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedpath | Yes | Full URL of the sitemap to remove, e.g. https://example.com/sitemap.xml. | |
| site_url | Yes | The Search Console property. Use the exact form shown by gsc_list_sites: a Domain property is 'sc-domain:example.com'; a URL-prefix property is the full origin with a trailing slash, e.g. 'https://example.com/'. |