Method: monetization.subscriptions.basePlans.delete
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa abonament podstawowy. Można to zrobić tylko w przypadku wersji roboczych abonamentów podstawowych. Tego działania nie można cofnąć.
Żądanie HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
packageName |
string
Wymagane. Aplikacja nadrzędna (nazwa pakietu) abonamentu podstawowego, który chcesz usunąć.
|
productId |
string
Wymagane. Identyfikator abonamentu nadrzędnego (abonament nadrzędny) abonamentu podstawowego, który ma zostać usunięty.
|
basePlanId |
string
Wymagane. Unikalny identyfikator oferty abonamentu podstawowego, który chcesz usunąć.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
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: 2025-05-21 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-05-21 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"]]