Method: partners.devices.unclaimAsync
비동기식으로 고객의 기기 배치에 대한 소유권 주장을 취소합니다. 제로터치 등록에서 기기를 삭제합니다. 자세한 내용은 장기 실행 일괄 작업을 참고하세요.
HTTP 요청
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
partnerId |
string (int64 format)
필수 항목입니다. 리셀러 파트너 ID입니다.
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
필드 |
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)
필수 항목입니다. 기기의 기기 ID입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]