Method: monetization.subscriptions.basePlans.delete
Löscht ein Basis-Abo. Dies ist nur für Basis-Abos möglich. Diese Aktion kann nicht rückgängig gemacht werden.
HTTP-Anfrage
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
packageName |
string
Erforderlich. Die übergeordnete App (Paketname) des zu löschenden Basis-Abos.
|
productId |
string
Erforderlich. Das übergeordnete Abo (ID) des zu löschenden Basis-Abos.
|
basePlanId |
string
Erforderlich. Die eindeutige Angebots-ID des zu löschenden Basis-Abos.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/androidpublisher
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-22 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-22 (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"]]