Method: partners.devices.unclaimAsync
Bir müşteri için bir cihaz grubu için eşzamansız olarak hak talebini iptal eder. Cihazları el değmeden kayıttan kaldırır. Daha fazla bilgi edinmek için Uzun süreli toplu işlemler başlıklı makaleyi okuyun.
HTTP isteği
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
partnerId |
string (int64 format)
Zorunlu. Bayi iş ortağı kimliği.
|
İstek içeriği
İstek gövdesi aşağıdaki yapıya sahip verileri içerir:
Alanlar |
unclaims[] |
object (PartnerUnclaim )
Zorunlu. Hak talebi iptal edilecek cihazların listesi.
|
Yanıt gövdesi
Başarılıysa yanıt metni, Operation
öğesinin bir örneğini içerir.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidworkprovisioning
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
PartnerUnclaim
Bir hak talebi iptali isteği tanımlar.
JSON gösterimi |
{
"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 .
} |
Alanlar |
sectionType |
enum (DeviceProvisioningSectionType )
Zorunlu. Cihazın temel hazırlık kaydının bölüm türü.
|
Birleştirme alanı device . Hak talebini iptal edecek cihaz. device şunlardan yalnızca biri olabilir: |
deviceIdentifier |
object (DeviceIdentifier )
Zorunlu. Cihazın cihaz tanımlayıcısı.
|
deviceId |
string (int64 format)
Zorunlu. Cihazın cihaz kimliği.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-29 UTC.
[null,null,["Son güncelleme tarihi: 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"]]