Sitemaps: delete
認証が必要です
このサイトからサイトマップを削除します。
実習をご覧ください。
リクエスト
HTTP リクエスト
DELETE https://www.googleapis.com/webmasters/v3/sites/siteUrl/sitemaps/feedpath
パラメータ
パラメータ名 |
値 |
説明 |
パスパラメータ |
feedpath |
string |
実際のサイトマップの URL。例: http://www.example.com/sitemap.xml
|
siteUrl |
string |
Search Console で定義されているプロパティの URL。次に例を示します。
http://www.example.com/
(URL プレフィックスプロパティ)
または sc-domain:example.com
(ドメイン プロパティ)。
|
承認
このリクエストは、次のスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
スコープ |
https://www.googleapis.com/auth/webmasters |
リクエスト本文
このメソッドをリクエストの本文に含めないでください。
レスポンス
成功した場合、このメソッドは空のレスポンス本文を返します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-26 UTC。
[null,null,["最終更新日 2024-08-26 UTC。"],[[["Deletes a specified sitemap from a Google Search Console property using a `DELETE` request to the provided endpoint."],["Requires authorization with the `https://www.googleapis.com/auth/webmasters` scope to execute."],["The request needs `siteUrl` (property URL) and `feedpath` (sitemap URL) as path parameters."],["The method returns an empty response body upon successful deletion of the sitemap."]]],["This API method deletes a specified sitemap from a site in Search Console. It requires authorization via the `https://www.googleapis.com/auth/webmasters` scope. The `DELETE` request is sent to `https://www.googleapis.com/webmasters/v3/sites/siteUrl/sitemaps/feedpath`. The `feedpath` parameter defines the sitemap URL, and `siteUrl` specifies the site's URL as listed in Search Console. No request body is needed, and a successful deletion results in an empty response.\n"]]