Method: monetization.subscriptions.basePlans.delete
Deletes a base plan. Can only be done for draft base plans. This action is irreversible.
HTTP request
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
packageName |
string
Required. The parent app (package name) of the base plan to delete.
|
productId |
string
Required. The parent subscription (ID) of the base plan to delete.
|
basePlanId |
string
Required. The unique offer ID of the base plan to delete.
|
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["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"]]