AI-generated Key Takeaways
-
You can delete a base plan using a DELETE request to the specified URL, but only if it is a draft base plan.
-
The DELETE request requires the
packageName
,productId
, andbasePlanId
as path parameters. -
The request body for deleting a base plan must be empty.
-
A successful deletion of a base plan will result in an empty JSON object as the response body.
-
This action requires the
https://www.googleapis.com/auth/androidpublisher
authorization scope.
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 |
Required. The parent app (package name) of the base plan to delete. |
productId |
Required. The parent subscription (ID) of the base plan to delete. |
basePlanId |
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