Method: partners.devices.unclaim
顧客からのデバイスの申請を解除し、ゼロタッチ登録から削除します。
HTTP リクエスト
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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 )
必須。このデバイスの申請時に使用したデバイス ID です。
|
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidworkprovisioning
詳しくは、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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."]]],[]]