---
title: "POST /v1/{+parent}/devices:unclaim"
method: POST
path: "/v1/{+parent}/devices:unclaim"
tags: ["customers"]
---

# POST /v1/{+parent}/devices:unclaim

`POST /v1/{+parent}/devices:unclaim`

Unclaims a device from a customer and removes it from zero-touch enrollment. After removing a device, a customer must contact their reseller to register the device into zero-touch enrollment again.

## Path parameters

- `parent` string, required

## Request body

- CustomerUnclaimDeviceRequest — Request message for customer to unclaim a device.
  - `device` DeviceReference — A `DeviceReference` is an API abstraction that lets you supply a _device_ argument to a method using one of the following identifier types: * A numeric API resource ID. * Real-world hardware IDs, such as IMEI number, belonging to the manufactured device. Methods that operate on devices take a `DeviceReference` as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
    - `deviceId` string, int64 — The ID of the device.
    - `deviceIdentifier` DeviceIdentifier — Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
      - `imei` string — The device’s IMEI number. Validated on input.
      - `model` string — The device model's name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175#identify_compatible).
      - `chromeOsAttestedDeviceId` string — An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.
      - `meid` string — The device’s MEID number.
      - `imei2` string — The device’s second IMEI number.
      - `meid2` string — The device’s second MEID number.
      - `deviceType` 'DEVICE_TYPE_UNSPECIFIED' | 'DEVICE_TYPE_ANDROID' | 'DEVICE_TYPE_CHROME_OS' — The type of the device
      - `serialNumber` string — The manufacturer's serial number for the device. This value might not be unique across different device models.
      - `manufacturer` string — The device manufacturer’s name. Matches the device's built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/androiddeviceprovisioning.md) · [All operations](https://skmtc.dev/google/apis/androiddeviceprovisioning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/androiddeviceprovisioning/revisions/8032eb5c1260/schema)
