Method: monetization.subscriptions.archive
Eingestellt: Die Archivierung von Abos wird nicht unterstützt.
HTTP-Anfrage
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
packageName |
string
Erforderlich. Die übergeordnete App (Paketname) der App des zu löschenden Abos.
|
productId |
string
Erforderlich. Die eindeutige Produkt-ID des zu löschenden Abos.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Subscription
.
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-12-17 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-12-17 (UTC)."],[[["This request archives a subscription for a specific app and product ID."],["It requires providing the package name and product ID as path parameters."],["The request body should be empty, and a successful response returns the subscription details."],["It's important to note that subscription archiving is deprecated and not supported."],["Authorization is needed using the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process of archiving a subscription via a POST request to a specific URL. The request requires `packageName` and `productId` path parameters. The HTTP request utilizes gRPC Transcoding. The request body must be empty. A successful operation returns a `Subscription` instance in the response body. The `androidpublisher` OAuth scope is necessary for authorization. Note that subscription archiving is deprecated.\n"]]