Method: partners.devices.unclaim
ביטול תביעת הבעלות של מכשיר מהלקוח והסרת המכשיר מהרשמה דרך הארגון.
בקשת HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
partnerId |
string (int64 format)
חובה. המספר של השותף המפיץ.
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג JSON |
{
"sectionType": enum (DeviceProvisioningSectionType ),
// Union field device_to_unclaim can be only one of the following:
"deviceId": string,
"deviceIdentifier": {
object (DeviceIdentifier )
}
// End of list of possible types for union field device_to_unclaim .
} |
שדות |
sectionType |
enum (DeviceProvisioningSectionType )
חובה. סוג הקטע של הרשומה להקצאת הרשאות ידנית של המכשיר.
|
שדה איחוד device_to_unclaim . חובה. המכשיר שצריך לבטל את תביעת הבעלות שלו. device_to_unclaim יכול להיות רק אחת מהאפשרויות הבאות: |
deviceId |
string (int64 format)
חובה. מזהה המכשיר שהוחזר על ידי devices.claim .
|
deviceIdentifier |
object (DeviceIdentifier )
חובה. מזהה המכשיר שבו השתמשת כשתביעת בעלות על המכשיר הזה.
|
גוף התשובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/androidworkprovisioning
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-29 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-29 (שעון UTC)."],[[["This API endpoint allows partners to unclaim a device from a customer, removing it from zero-touch enrollment using a POST request."],["The request requires a `partnerId` path parameter, which is the unique identifier for the reseller partner, and it must be specified in the URL."],["The request body must specify either the `deviceId` or a `deviceIdentifier` along with a `sectionType` to identify the device being unclaimed."],["Successful requests will result in an empty response body, indicating the device has been unclaimed."],["The API call needs the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope for authorization."]]],["This document details the process to unclaim a device from a customer, removing it from zero-touch enrollment. It uses a `POST` HTTP request to the endpoint: `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim`, requires the `partnerId` path parameter and the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The request body requires a `sectionType`, along with either a `deviceId` or a `deviceIdentifier` to specify the device to unclaim. A successful request returns an empty response body.\n"]]