Method: monetization.subscriptions.delete

Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.

HTTP request

DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) of the app of the subscription to delete.

productId

string

Required. The unique product ID of the subscription 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