Delete sitemap
sitemaps.deleteDelete a submitted sitemap from your Google Search Console account to remove outdated or incorrect sitemaps and keep your property accurate.
Instructions
Remove/delete a submitted sitemap from your Google Search Console account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedpath | Yes | The full URL of the sitemap file to delete, e.g. https://example.com/sitemap.xml | |
| site_url | Yes | The Search Console property identifier, exactly as returned by sites.list. Two formats exist: domain properties use 'sc-domain:example.com'; URL-prefix properties use the full URL including protocol and trailing slash, e.g. 'https://www.example.com/'. Passing the wrong format returns a permission error even when the user owns the site — call sites.list first if unsure. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes |