Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Method: partners.devices.unclaim
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Huỷ xác nhận quyền sở hữu đối với thiết bị của khách hàng và xoá thiết bị đó khỏi quy trình thiết lập tự động.
Yêu cầu HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
| Tham số |
partnerId |
string (int64 format)
Bắt buộc. Mã của đối tác đại lý.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
| Biểu diễn dưới dạng 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.
} |
| Trường |
sectionType |
enum (DeviceProvisioningSectionType)
Bắt buộc. Loại mục của bản ghi cấp phép của thiết bị.
|
Trường kết hợp device_to_unclaim. Bắt buộc. Thiết bị để huỷ xác nhận. device_to_unclaim chỉ có thể là một trong những trạng thái sau đây: |
deviceId |
string (int64 format)
Bắt buộc. Mã thiết bị do devices.claim trả về.
|
deviceIdentifier |
object (DeviceIdentifier)
Bắt buộc. Mã nhận dạng thiết bị bạn đã sử dụng khi xác nhận thiết bị này.
|
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ trống.
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidworkprovisioning
Để biết thêm thông tin, hãy xem bài viết Tổng quan về OAuth 2.0.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],["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"]]