Method: monetization.subscriptions.basePlans.delete
ลบแพ็กเกจเริ่มต้น ใช้ได้เฉพาะกับแพ็กเกจเริ่มต้นฉบับร่างเท่านั้น การดำเนินการนี้จะย้อนกลับไม่ได้
คำขอ HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ต้องระบุ แอปหลัก (ชื่อแพ็กเกจ) ของแพ็กเกจเริ่มต้นที่จะลบ
|
productId |
string
ต้องระบุ การสมัครใช้บริการหลัก (รหัส) ของแพ็กเกจเริ่มต้นที่จะลบ
|
basePlanId |
string
ต้องระบุ รหัสข้อเสนอที่ไม่ซ้ำกันของแพ็กเกจเริ่มต้นที่จะลบ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[null,null,["อัปเดตล่าสุด 2024-08-22 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"]]