WebResource: delete
يتطلّب تفويضًا
لإثبات ملكية المستخدم لموقع إلكتروني أو نطاق.
تجربة ذلك الآن
قبل طلب delete، يجب إزالة جميع الرموز المميزة لإثبات ملكية الحساب للمستخدم الذي تمت مصادقته للموقع الإلكتروني أو النطاق. لا تثبت طريقة الحذف إثبات ملكية المستخدم الذي تمت المصادقة عليه إلا للموقع الإلكتروني أو النطاق المحدّدَين. ويظل المالكون الآخرون معتمَدين.
الطلب
طلب HTTP
DELETE https://www.googleapis.com/siteVerification/v1/webResource/id
المعلمات
اسم المعلَمة |
القيمة |
الوصف |
مَعلمات المسار |
id |
string |
رقم تعريف موقع أو نطاق تم إثبات ملكيته.
|
التفويض
يتطلب هذا الطلب تفويضًا بالنطاق التالي (مزيد من المعلومات عن المصادقة والترخيص).
النطاق |
https://www.googleapis.com/auth/siteverification |
نص الطلب
لا تقدِّم نص طلب باستخدام هذه الطريقة.
الرد
في حال نجاح الإجراء، تعرض هذه الطريقة رمز حالة HTTP 204 No Content
ونص استجابة فارغًا.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]