Method: partners.devices.unclaimAsync
ถอนการอ้างสิทธิ์อุปกรณ์จำนวนหนึ่งให้ลูกค้าแบบไม่พร้อมกัน นำอุปกรณ์ออกจากการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่ม โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการดำเนินการแบบกลุ่มที่ใช้เวลานาน
คำขอ HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
partnerId |
string (int64 format)
ต้องระบุ รหัสพาร์ทเนอร์ของตัวแทนจำหน่าย
|
เนื้อหาของคำขอ
เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้
ช่อง |
unclaims[] |
object (PartnerUnclaim )
ต้องระบุ รายการอุปกรณ์ที่จะถอนการอ้างสิทธิ์
|
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Operation
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidworkprovisioning
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
PartnerUnclaim
ระบุคำขอถอนการอ้างสิทธิ์ 1 รายการ
การแสดง JSON |
{
"sectionType": enum (DeviceProvisioningSectionType ),
// Union field device can be only one of the following:
"deviceIdentifier": {
object (DeviceIdentifier )
},
"deviceId": string
// End of list of possible types for union field device .
} |
ช่อง |
sectionType |
enum (DeviceProvisioningSectionType )
ต้องระบุ ประเภทส่วนของระเบียนการจัดสรรของอุปกรณ์
|
ช่องการรวม device อุปกรณ์ที่ต้องการถอนการอ้างสิทธิ์ device ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
deviceIdentifier |
object (DeviceIdentifier )
ต้องระบุ ตัวระบุของอุปกรณ์
|
deviceId |
string (int64 format)
ต้องระบุ รหัสอุปกรณ์ของอุปกรณ์
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-29 UTC
[null,null,["อัปเดตล่าสุด 2024-08-29 UTC"],[[["This endpoint facilitates the asynchronous unclaiming of a batch of devices for a customer, effectively removing them from zero-touch enrollment."],["The HTTP request to unclaim devices is a `POST` request to `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync`, utilizing gRPC Transcoding syntax."],["The request requires a `partnerId` path parameter, representing the reseller partner ID, and the request body contains a list of `unclaims`, each specifying a device to be unclaimed."],["The `PartnerUnclaim` object uses a union field `device` that accepts either a `deviceIdentifier` or a `deviceId` to specify which device should be unclaimed, along with the `sectionType` of the device."],["The endpoint requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope and returns an instance of `Operation` upon successful completion."]]],["This describes how to unclaim devices from zero-touch enrollment asynchronously via a `POST` request to `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync`. The request requires a `partnerId` path parameter and a JSON body containing an array of `unclaims`. Each unclaim specifies a device by either `deviceIdentifier` or `deviceId`, and its `sectionType`. Successful requests return an `Operation`. Authorization needs the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope.\n"]]