partners

POST /v1/partners/{partnersId}/devices:unclaim

Unclaims a device from a customer and removes it from zero-touch enrollment.

Request

  • Base URL
    https://androiddeviceprovisioning.googleapis.com
  • URL
    https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnersId}/devices:unclaim
  • Auth
    none declared

Path parameters

partnersIdstring required

Request body

deviceIdstring int64

Required. The device ID returned by ClaimDevice.

sectionType'SECTION_TYPE_UNSPECIFIED' | 'SECTION_TYPE_SIM_LOCK' | 'SECTION_TYPE_ZERO_TOUCH'

Required. The section type of the device's provisioning record.

vacationModeDaysinteger

The duration of the vacation unlock starting from when the request is processed. (1 day is treated as 24 hours)

vacationModeExpireTimestring google-datetime

The expiration time of the vacation unlock.

Response

Successful response

Empty required

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Changes

No recorded changes to this operation across all 4 revisions of this API.