Method: grants.delete
นำสิทธิ์เข้าถึงทั้งหมดของผู้ใช้สำหรับแพ็กเกจหรือบัญชีนักพัฒนาแอปที่ระบุออก
คำขอ HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/{name=developers/*/users/*/grants/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อของเงินสนับสนุนที่จะลบ รูปแบบ: developers/{developer}/users/{email}/grants/{packageName}
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ JSON ว่าง
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-17 UTC
[null,null,["อัปเดตล่าสุด 2024-12-17 UTC"],[[["Removes a user's access to a specific package or developer account."],["Uses an HTTP DELETE request with the grant's name specified in the URL path."],["Requires an empty request body and returns an empty response body upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process for revoking a user's access to a package or developer account. A `DELETE` HTTP request is sent to a specific URL using gRPC Transcoding syntax, with the `name` parameter specifying the grant to remove in the format `developers/*/users/*/grants/*`. The request body must be empty, and a successful deletion returns an empty JSON object. The process necessitates the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]