Method: monetization.subscriptions.basePlans.delete

  • 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.

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