AI-generated Key Takeaways
-
This document outlines the process for deleting a subscription using a DELETE HTTP request.
-
Deleting a subscription is only possible if its base plan has never been published.
-
The request requires path parameters for the package name and product ID.
-
The request body must be empty, and a successful response will also have an empty body.
-
Authorization requires the
https://www.googleapis.com/auth/androidpublisher
OAuth scope.
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 |
Required. The parent app (package name) of the app of the subscription to delete. |
productId |
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