Method: inappproducts.delete
Uygulama içi bir ürünü (yönetilen ürün veya abonelik) siler.
Bu yöntem artık abonelikleri silmek için kullanılmamalıdır. Daha fazla bilgi için bu makaleyi inceleyin.
HTTP isteği
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Uygulamanın paket adı.
|
sku |
string
Uygulama içi ürünün benzersiz tanımlayıcısı.
|
Sorgu parametreleri
Parametreler |
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
İsteğe bağlı. Bu ürün güncellemesinin yayılması için gecikme toleransı. Varsayılan olarak gecikmeye duyarlıdır.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi boş olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-22 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-22 UTC."],[[["Deletes an in-app product, either a managed product or a subscription, but should no longer be used for subscriptions, instead referring to a specific article for updated methods."],["Uses an HTTP DELETE request with specified path parameters for package name and product identifier."],["Accepts an optional query parameter to define latency tolerance for product update propagation."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details the process of deleting an in-app product using the Android Publisher API. A `DELETE` request is sent to a specific URL using gRPC transcoding, including the app's package name and the product's unique identifier (SKU) as path parameters. An optional query parameter, `latencyTolerance`, controls update propagation. The request body must be empty, and a successful operation returns an empty JSON object. The process requires the `androidpublisher` authorization scope, and it is not meant to delete subscriptions.\n"]]