Method: monetization.subscriptions.basePlans.delete
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
बुनियादी प्लान मिटाता है. सिर्फ़ ड्राफ़्ट किए गए बुनियादी प्लान के लिए किया जा सकता है. यह कार्रवाई पहले जैसी नहीं की जा सकती.
एचटीटीपी अनुरोध
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ज़रूरी है. बुनियादी प्लान का पैरंट ऐप्लिकेशन (पैकेज का नाम), जिसे मिटाना है.
|
productId |
string
ज़रूरी है. बुनियादी प्लान की पैरंट सदस्यता (आईडी), जिसे मिटाना है.
|
basePlanId |
string
ज़रूरी है. मिटाए जाने वाले बुनियादी प्लान का यूनीक ऑफ़र आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eDeletes a draft base plan for a subscription, and this action cannot be undone.\u003c/p\u003e\n"],["\u003cp\u003eRequires the package name, subscription ID, and base plan ID to identify the target base plan.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP DELETE request with the provided URL structure and requires no request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request needs authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful deletion, an empty response body is returned.\u003c/p\u003e\n"]]],["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"],null,["# Method: monetization.subscriptions.basePlans.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a base plan. Can only be done for draft base plans. This action is irreversible.\n\n### HTTP request\n\n`DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------|\n| `packageName` | `string` Required. The parent app (package name) of the base plan to delete. |\n| `productId` | `string` Required. The parent subscription (ID) of the base plan to delete. |\n| `basePlanId` | `string` Required. The unique offer ID of the base plan to delete. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]