Method: monetization.subscriptions.basePlans.offers.delete
ลบข้อเสนอพิเศษในการติดตาม ทำได้เฉพาะกับข้อเสนอฉบับร่างเท่านั้น การดำเนินการนี้จะย้อนกลับไม่ได้
คำขอ HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ แอปหลัก (ชื่อแพ็กเกจ) ของข้อเสนอที่จะลบ
|
productId |
string
ต้องระบุ การสมัครใช้บริการหลัก (รหัส) ของข้อเสนอที่จะลบ
|
basePlanId |
string
ต้องระบุ แพ็กเกจเริ่มต้นหลัก (รหัส) ของข้อเสนอที่จะลบ
|
offerId |
string
ต้องระบุ รหัสข้อเสนอที่ไม่ซ้ำกันของข้อเสนอที่จะลบ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ 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"]]