Method: customers.devices.unclaim
Отменяет права владения устройством у клиента и удаляет его из автоматической регистрации.
После удаления устройства клиент должен связаться со своим торговым посредником, чтобы снова зарегистрировать устройство в автоматической регистрации.
HTTP-запрос
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:unclaim
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
parent | string Необходимый. Клиент, управляющий устройством. Имя ресурса API в формате customers/[CUSTOMER_ID] . |
Тело запроса
Тело запроса содержит данные следующей структуры:
Поля |
---|
device | object ( DeviceReference ) Необходимый. Устройство, права на которое требуется отменить. |
Тело ответа
В случае успеха тело ответа пустое.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/androidworkzerotouchemm
Дополнительную информацию см. в обзоре OAuth 2.0 .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-08 UTC.
[null,null,["Последнее обновление: 2024-11-08 UTC."],[[["This endpoint unclaims a device from a customer, removing it from zero-touch enrollment, requiring the customer to re-register through their reseller if needed."],["The HTTP request method is a `POST` request to a specific URL using gRPC Transcoding syntax, with the customer ID being a required path parameter."],["The request body is required and must contain an object specifying the `device` to unclaim, referenced by the DeviceReference resource."],["The response body will be empty if the request is successful."],["This API call requires OAuth scope `https://www.googleapis.com/auth/androidworkzerotouchemm` for authorization."]]],["This document details how to unclaim a device from a customer using the Android zero-touch enrollment API. The key action is sending a `POST` request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:unclaim`, where `parent` is the customer ID. The request body requires a `device` object specifying the device to unclaim. Successful unclaiming results in an empty response body. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. Unclaiming removes the device from zero-touch enrollment, requiring the customer to re-register it with their reseller.\n"]]