Method: customers.devices.unclaim
Membatalkan klaim perangkat dari pelanggan dan menghapusnya dari pendaftaran zero-touch.
Setelah menghapus perangkat, pelanggan harus menghubungi reseller untuk mendaftarkan perangkat ke pendaftaran zero-touch lagi.
Permintaan HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:unclaim
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Pelanggan yang mengelola perangkat. Nama resource API dalam format customers/[CUSTOMER_ID] .
|
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
Kolom |
device |
object (DeviceReference )
Wajib. Perangkat yang akan dibatalkan klaimnya.
|
Isi respons
Jika berhasil, isi respons akan kosong.
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidworkzerotouchemm
Untuk informasi selengkapnya, lihat Ringkasan OAuth 2.0.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-20 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-20 UTC."],[[["This endpoint unclaims a device from a customer, removing it from zero-touch enrollment, requiring the customer to re-register through their reseller if needed."],["The HTTP request method is a `POST` request to a specific URL using gRPC Transcoding syntax, with the customer ID being a required path parameter."],["The request body is required and must contain an object specifying the `device` to unclaim, referenced by the DeviceReference resource."],["The response body will be empty if the request is successful."],["This API call requires OAuth scope `https://www.googleapis.com/auth/androidworkzerotouchemm` for authorization."]]],["This document details how to unclaim a device from a customer using the Android zero-touch enrollment API. The key action is sending a `POST` request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:unclaim`, where `parent` is the customer ID. The request body requires a `device` object specifying the device to unclaim. Successful unclaiming results in an empty response body. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. Unclaiming removes the device from zero-touch enrollment, requiring the customer to re-register it with their reseller.\n"]]