Method: customers.devices.removeConfiguration
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menghapus konfigurasi dari perangkat.
Permintaan HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Pelanggan mengelola perangkat dalam format customers/[CUSTOMER_ID] .
|
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
Kolom |
device |
object (DeviceReference )
Wajib. Perangkat yang konfigurasinya akan dihapus.
|
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 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[[["\u003cp\u003eThis API endpoint removes a configuration from a specified device using a POST request to the URL \u003ccode\u003ehttps://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter, representing the customer ID, is required and must be in the format \u003ccode\u003ecustomers/[CUSTOMER_ID]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003edevice\u003c/code\u003e object, a \u003ccode\u003eDeviceReference\u003c/code\u003e to specify which device the configuration should be removed from.\u003c/p\u003e\n"],["\u003cp\u003eA successful request results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/androidworkzerotouchemm\u003c/code\u003e.\u003c/p\u003e\n"]]],["This document details how to remove a configuration from a device via a POST request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration`. The `parent` path parameter is required, formatted as `customers/[CUSTOMER_ID]`. The request body must include a `device` object specifying the target device. A successful request results in an empty response body. The `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope is required for authorization.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nRemoves a configuration from device.\n\nHTTP request\n\n`POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The customer managing the device in the format `customers/[CUSTOMER_ID]`. |\n\nRequest body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------|---|\n| ``` { \"device\": { object (/zero-touch/reference/customer/rest/v1/DeviceReference) } } ``` |\n\n| Fields ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `device` | `object (`[DeviceReference](/zero-touch/reference/customer/rest/v1/DeviceReference)`)` Required. The device to remove the configuration from. |\n\nResponse body\n\nIf successful, the response body is empty.\n\nAuthorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidworkzerotouchemm`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]