AI-generated Key Takeaways
-
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
POSTrequest tohttps://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync, utilizing gRPC Transcoding syntax. -
The request requires a
partnerIdpath parameter, representing the reseller partner ID, and the request body contains a list ofunclaims, each specifying a device to be unclaimed. -
The
PartnerUnclaimobject uses a union fielddevicethat accepts either adeviceIdentifieror adeviceIdto specify which device should be unclaimed, along with thesectionTypeof the device. -
The endpoint requires the
https://www.googleapis.com/auth/androidworkprovisioningOAuth scope and returns an instance ofOperationupon successful completion.
Unclaims a batch of devices for a customer asynchronously. Removes the devices from zero-touch enrollment. To learn more, read Long‑running batch operations.
HTTP request
POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaimAsync
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
partnerId |
Required. The reseller partner ID. |
Request body
The request body contains data with the following structure:
| JSON representation | |
|---|---|
{
"unclaims": [
{
object ( |
|
| Fields | |
|---|---|
unclaims[] |
Required. The list of devices to unclaim. |
Response body
If successful, the response body contains an instance of Operation.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkprovisioning
For more information, see the OAuth 2.0 Overview.
PartnerUnclaim
Identifies one unclaim request.
| JSON representation | |
|---|---|
{ "sectionType": enum ( |
|
| Fields | ||
|---|---|---|
sectionType |
Required. The section type of the device's provisioning record. |
|
Union field device. The device to unclaim. device can be only one of the following: |
||
deviceIdentifier |
Required. Device identifier of the device. |
|
deviceId |
Required. Device ID of the device. |
|