Method: monetization.subscriptions.archive
Nieaktualne: archiwizowanie subskrypcji nie jest obsługiwane.
Żądanie HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
packageName |
string
Wymagane. Nazwa pakietu aplikacji nadrzędnej (aplikacji, której subskrypcję chcesz usunąć).
|
productId |
string
Wymagane. Unikalny identyfikator produktu, którego subskrypcję chcesz usunąć.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Subscription
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidpublisher
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-17 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]