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
מזהה בקשה אחת שלא נתבעה עליה בעלות.
ייצוג 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)
חובה. מזהה המכשיר של המכשיר.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]