Google Search Console API
  1. sitemaps
Google Search Console API
  • urlInspection
    • /v1/urlInspection/index:inspect
      POST
  • urlTestingTools
    • /v1/urlTestingTools/mobileFriendlyTest:run
      POST
  • sites
    • /webmasters/v3/sites
      GET
    • /sites
      GET
    • /webmasters/v3/sites/{siteUrl}
      DELETE
    • /sites/{siteUrl}
      DELETE
    • /webmasters/v3/sites/{siteUrl}
      GET
    • /sites/{siteUrl}
      GET
    • /webmasters/v3/sites/{siteUrl}
      PUT
    • /sites/{siteUrl}
      PUT
  • searchanalytics
    • /webmasters/v3/sites/{siteUrl}/searchAnalytics/query
      POST
    • /sites/{siteUrl}/searchAnalytics/query
      POST
  • sitemaps
    • /webmasters/v3/sites/{siteUrl}/sitemaps
      GET
    • /sites/{siteUrl}/sitemaps
      GET
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      DELETE
    • /sites/{siteUrl}/sitemaps/{feedpath}
      DELETE
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      GET
    • /sites/{siteUrl}/sitemaps/{feedpath}
      GET
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      PUT
    • /sites/{siteUrl}/sitemaps/{feedpath}
      PUT
  1. sitemaps

/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}

DELETE
/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
sitemaps
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.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://searchconsole.googleapis.com//webmasters/v3/sites//sitemaps/'
Response Response Example
{}

Request

Path Params
siteUrl
string 
required
The site's URL, including protocol. For example: http://www.example.com/.
feedpath
string 
required
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml.

Responses

🟢200Successful response
application/json
Body
object {0}
Modified at 2023-08-15 09:03:48
Previous
/sites/{siteUrl}/sitemaps
Next
/sites/{siteUrl}/sitemaps/{feedpath}
Built with