WebResource: delete
認証が必要です
ウェブサイトまたはドメインに対するユーザー所有権の確認を解除します。
実習をご覧ください。
delete を呼び出す前に、ウェブサイトまたはドメインの認証済みユーザーの確認トークンをすべて削除する必要があります。delete メソッドは、認証されたユーザーが指定したウェブサイトまたはドメインの所有権のみを検証解除します。他の所有者は確認済みのままです。
リクエストする
HTTP リクエスト
DELETE https://www.googleapis.com/siteVerification/v1/webResource/id
パラメータ
パラメータ名 |
値 |
説明 |
パスパラメータ |
id |
string |
確認済みのサイトまたはドメインの ID。
|
承認
このリクエストは、次のスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
スコープ |
https://www.googleapis.com/auth/siteverification |
リクエスト本文
このメソッドをリクエストの本文に含めないでください。
レスポンス
成功すると、このメソッドは HTTP 204 No Content
ステータス コードと空のレスポンス本文を返します。
試してみよう:
以下の API Explorer を使用して、ライブデータに対してこのメソッドを呼び出し、レスポンスを確認してください。
または、
スタンドアロン
エクスプローラをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-23 UTC。
[null,null,["最終更新日 2024-08-23 UTC。"],[[["Unverifies a user's ownership of a website or domain, requiring prior removal of all user verification tokens before proceeding."],["The method only affects the authenticated user's verification, leaving other owners' verification status unchanged."],["Requires authorization with the `https://www.googleapis.com/auth/siteverification` scope."],["Uses a DELETE request to `https://www.googleapis.com/siteVerification/v1/webResource/id`, specifying the website or domain ID in the path."],["Returns a `204 No Content` status upon successful unverification."]]],["The core action is to unverify a user's ownership of a website or domain using the `DELETE` method at the specified endpoint. This action requires authorization with the `https://www.googleapis.com/auth/siteverification` scope. The request must include the `id` of the verified site or domain as a path parameter, with no request body required. Prior to deletion of site, the authenticated user's verification tokens must be removed. Upon successful execution, an HTTP `204 No Content` status is returned, with an empty body. Other owners of the site will not be affected.\n"]]