Method: partners.devices.unclaim

Unclaim the device identified by the deviceId or the deviceIdentifier.

HTTP request

POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:unclaim

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
partnerId

string (int64 format)

ID of the partner.

Request body

The request body contains data with the following structure:

JSON representation
{
  "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.
}
Fields
sectionType

enum(DeviceProvisioningSectionType)

The section type to unclaim for.

Union field device_to_unclaim. Device to unclaim can be identified by one of the following. device_to_unclaim can be only one of the following:
deviceId

string (int64 format)

The device ID returned by devices.claim.

deviceIdentifier

object(DeviceIdentifier)

The device identifier you used when you claimed this device.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidworkprovisioning

For more information, see the Auth Guide.

Send feedback about...

Android zero-touch enrollment