Method: customers.configurations.delete
ลบการกำหนดค่าที่ไม่ได้ใช้ การเรียก API จะล้มเหลวหากลูกค้ามีอุปกรณ์ที่ใช้การกำหนดค่า
คำขอ HTTP
DELETE https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ การกำหนดค่าที่จะลบ ชื่อทรัพยากร API ในรูปแบบ customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] หากใช้การกำหนดค่ากับอุปกรณ์ใดก็ตาม จะเรียก API ไม่สำเร็จ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidworkzerotouchemm
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-07 UTC
[null,null,["อัปเดตล่าสุด 2024-08-07 UTC"],[[["This API endpoint is used to delete an unused configuration using a DELETE HTTP request."],["The `name` path parameter is required, which specifies the configuration to delete in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`."],["The request body for this operation must be empty."],["If successful, the response body will also be empty, and it fails if the configuration is applied to any devices."],["The authorization scope required for this operation is `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],[]]