WebResource: delete
נדרשת הרשאה
מאחדת את בעלות המשתמש על אתר או דומיין.
רוצים לנסות עכשיו?
לפני קריאה למחיקה, צריך להסיר את כל אסימוני האימות של המשתמשים המאומתים באתר או בדומיין. שיטת מחיקה מאחדת רק את הבעלות של המשתמש המאומת על האתר או הדומיין שצוין. שאר הבעלים יישארו מאומתים.
בקשה
בקשת HTTP
DELETE https://www.googleapis.com/siteVerification/v1/webResource/id
פרמטרים
שם הפרמטר |
ערך |
תיאור |
פרמטרים של נתיב |
id |
string |
המזהה של אתר או דומיין מאומתים.
|
אישור
הבקשה הזו מחייבת הרשאה עם ההיקף הבא (מידע נוסף על אימות והרשאה).
היקף |
https://www.googleapis.com/auth/siteverification |
גוף הבקשה
אל תספקו גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו מחזירה את קוד הסטטוס HTTP 204 No Content
וגוף תגובה ריק.
נסה בעצמך!
אפשר להשתמש ב-APIs Explorer שבהמשך כדי להפעיל את השיטה הזו בנתונים בזמן אמת ולראות את התגובה.
לחלופין, אפשר לנסות את
עצמאי
חוקר.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]