Method: inappproducts.delete
Menghapus produk dalam aplikasi (produk terkelola atau langganan).
Metode ini seharusnya tidak digunakan lagi untuk menghapus langganan. Lihat artikel ini untuk informasi selengkapnya.
Permintaan HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
packageName |
string
Nama paket aplikasi.
|
sku |
string
ID unik untuk produk dalam aplikasi.
|
Parameter kueri
Parameter |
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
Opsional. Toleransi latensi untuk penerapan update produk ini. Setelan defaultnya adalah sensitif terhadap latensi.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/androidpublisher
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-22 UTC.
[null,null,["Terakhir diperbarui pada 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"]]