Sites: delete
認証が必要です
ユーザーの一連の Search Console サイトから 1 つのサイトを削除します。
実習をご覧ください。
リクエスト
HTTP リクエスト
DELETE https://www.googleapis.com/webmasters/v3/sites/siteUrl
パラメータ
パラメータ名 |
値 |
説明 |
パスパラメータ |
siteUrl |
string |
削除するプロパティの URL(Search Console で定義)。例:
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。"],[[["This request removes a site from the user's Search Console sites."],["It uses an HTTP DELETE request with the site URL as a parameter."],["Requires authorization with the `https://www.googleapis.com/auth/webmasters` scope."],["The request body should be empty for successful execution."]]],["This API endpoint allows for the removal of a site from a user's Search Console sites. The `DELETE` request is sent to `https://www.googleapis.com/webmasters/v3/sites/siteUrl`, requiring authorization with the `https://www.googleapis.com/auth/webmasters` scope. The `siteUrl` parameter, a string, specifies the site to delete (e.g., `http://www.example.com/` or `sc-domain:example.com`). No request body is needed. A successful operation yields an empty response.\n"]]