الصفحات: حذف
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تتطلّب تفويضًا
حذف صفحة حسب رقم التعريف
جرِّب ذلك الآن.
الطلب
طلب HTTP
DELETE https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId
المعلمات
اسم المعلَمة |
القيمة |
الوصف |
المَعلمات المطلوبة |
blogId |
string |
معرّف المدونة.
|
pageId |
string |
رقم تعريف الصفحة.
|
useTrash |
boolean |
نقل المحتوى إلى المهملات إن أمكن يُرجى العلم أنّه لا يمكن نقل سوى الصفحات المنشورة إلى "المهملات".
|
التفويض
يتطلب هذا الطلب تفويضًا بنطاق واحد على الأقل من النطاقات التالية (اطّلِع على مزيد من المعلومات عن المصادقة والتفويض).
النطاق |
https://www.googleapis.com/auth/blogger |
نص الطلب
لا تقدِّم محتوى طلب باستخدام هذه الطريقة.
الردّ
إذا كانت الاستجابة ناجحة، تعرض هذه الطريقة نص استجابة فارغًا.
جرّب الآن
استخدِم "مستكشف واجهات برمجة التطبيقات" أدناه لطلب هذه الطريقة على البيانات المباشرة والاطّلاع على الاستجابة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eDelete a specific page from a blog using its unique ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/blogger\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eOptionally move the page to the trash instead of permanently deleting it using the \u003ccode\u003euseTrash\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request does not require a body and returns an empty response upon success.\u003c/p\u003e\n"]]],[],null,["# Pages: delete\n\n**Requires [authorization](#auth)**\n\nDelete a page by ID.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nDELETE https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|-----------|-----------------------------------------------------------------------------|\n| **Required parameters** |||\n| `blogId` | `string` | The Id of the Blog. |\n| `pageId` | `string` | The ID of the Page. |\n| `useTrash` | `boolean` | Move to Trash if possible. Note that only live pages can be moved to Trash. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/blogger/docs/3.0/using#auth)).\n\n| Scope |\n|-------------------------------------------|\n| `https://www.googleapis.com/auth/blogger` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]