WebResource: delete
Wymaga autoryzacji
Ujednolica własność witryny lub domeny użytkownika.
Wypróbuj
Zanim wywołasz metodę delete, musisz usunąć wszystkie tokeny weryfikacyjne uwierzytelnionego użytkownika witryny lub domeny. Metoda delete zmienia własność tylko określonej witryny lub domeny uwierzytelnionego użytkownika. Inni właściciele pozostają zweryfikowani.
Żądanie
Żądanie HTTP
DELETE https://www.googleapis.com/siteVerification/v1/webResource/id
Parametry
Nazwa parametru |
Wartość |
Opis |
Parametry ścieżki |
id |
string |
Identyfikator zweryfikowanej witryny lub domeny.
|
Autoryzacja
To żądanie wymaga autoryzacji w ramach tego zakresu (więcej informacji o uwierzytelnianiu i autoryzacji).
Zakres |
https://www.googleapis.com/auth/siteverification |
Treść żądania
Nie podawaj treści żądania przy użyciu tej metody.
Odpowiedź
Jeśli operacja się uda, metoda zwróci kod stanu HTTP204 No Content
i pustą treść odpowiedzi.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-23 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]