Method: customers.devices.removeConfiguration
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Rimuove una configurazione dal dispositivo.
Richiesta HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. Il cliente che gestisce il dispositivo nel formato customers/[CUSTOMER_ID] .
|
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
Campi |
device |
object (DeviceReference )
Obbligatorio. Il dispositivo da cui rimuovere la configurazione.
|
Corpo della risposta
In caso di esito positivo, il corpo della risposta è vuoto.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
Per ulteriori informazioni, consulta la panoramica di OAuth 2.0.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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,["# Method: customers.devices.removeConfiguration\n\n- [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\n### HTTP 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\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The customer managing the device in the format `customers/[CUSTOMER_ID]`. |\n\n### Request 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\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization 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)."]]