Method: monetization.subscriptions.archive
Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Eingestellt: Die Aboarchivierung 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
Parameters |
packageName | string Erforderlich. Die übergeordnete App (Paketname) der App des zu löschenden Abos. |
productId | string Erforderlich. Die eindeutige Produkt-ID des Abos, das gelöscht werden soll. |
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: 2025-07-26 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eThis request archives a subscription for a specific app and product ID.\u003c/p\u003e\n"],["\u003cp\u003eIt requires providing the package name and product ID as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response returns the subscription details.\u003c/p\u003e\n"],["\u003cp\u003eIt's important to note that subscription archiving is deprecated and not supported.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is needed using the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n| This item is deprecated!\nDeprecated: subscription archiving is not supported.\n\nHTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|---------------|--------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. The parent app (package name) of the app of the subscription to delete. |\n| `productId` | `string` Required. The unique product ID of the subscription to delete. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body contains an instance of [Subscription](/android-publisher/api-ref/rest/v3/monetization.subscriptions#Subscription).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]