Method: monetization.subscriptions.basePlans.offers.delete
定期購入特典を削除します。削除できるのは未公開の特典のみです。この操作は取り消せません。
HTTP リクエスト
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
必須。削除する特典の親アプリ(パッケージ名)。
|
productId |
string
必須。削除する特典の親定期購入(ID)。
|
basePlanId |
string
必須。削除する特典の親基本プラン(ID)。
|
offerId |
string
必須。削除する特典の一意の特典 ID。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-18 UTC。
[null,null,["最終更新日 2024-12-18 UTC。"],[[["Permanently deletes a draft subscription offer, an irreversible action."],["Requires specifying the package name, product ID, base plan ID, and offer ID in the request URL."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization necessitates the `https://www.googleapis.com/auth/androidpublisher` OAuth scope."]]],["The core content details deleting a subscription offer via a `DELETE` HTTP request to a specific URL. This action requires providing the `packageName`, `productId`, `basePlanId`, and `offerId` as path parameters in the URL. The request body must be empty. A successful deletion results in an empty JSON object response. This is irreversible, and only draft offers can be deleted using the specified authorization scope: `https://www.googleapis.com/auth/androidpublisher`.\n"]]