Method: monetization.subscriptions.basePlans.delete
یک طرح پایه را حذف می کند. فقط برای پیش نویس طرح های پایه قابل انجام است. این عمل برگشت ناپذیر است.
درخواست HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
package Name | string مورد نیاز. برنامه والد (نام بسته) طرح پایه برای حذف. |
product Id | string مورد نیاز. اشتراک والد (ID) طرح پایه برای حذف. |
base Plan Id | string مورد نیاز. شناسه پیشنهاد منحصر به فرد طرح پایه برای حذف. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidpublisher
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-12-18 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-12-18 بهوقت ساعت هماهنگ جهانی."],[[["Deletes a draft base plan for a subscription, and this action cannot be undone."],["Requires the package name, subscription ID, and base plan ID to identify the target base plan."],["Uses an HTTP DELETE request with the provided URL structure and requires no request body."],["The request needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."],["Upon successful deletion, an empty response body is returned."]]],["This document details the process of deleting a draft base plan via a `DELETE` HTTP request to the specified URL. The URL requires three path parameters: `packageName`, `productId`, and `basePlanId`, all of type string, to identify the base plan. The request body must be empty. Successful deletion results in an empty JSON object in the response body. This action requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]