Method: partners.devices.unclaim
HTTP 请求
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim
网址采用 gRPC 转码语法。
路径参数
参数 |
partnerId |
string (int64 format)
必需。转销商合作伙伴的 ID。
|
请求正文
请求正文中包含结构如下的数据:
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 返回的设备 ID。
|
deviceIdentifier |
object (DeviceIdentifier )
必需。您认领此设备时使用的设备标识符。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidworkprovisioning
如需了解详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["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."]]],[]]