Method: customers.devices.removeConfiguration
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Remove uma configuração do dispositivo.
Solicitação HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
parent |
string
Obrigatório. O cliente que gerencia o dispositivo no formato customers/[CUSTOMER_ID] .
|
Corpo da solicitação
O corpo da solicitação contém dados com a seguinte estrutura:
Campos |
device |
object (DeviceReference )
Obrigatório. O dispositivo do qual a configuração será removida.
|
Corpo da resposta
Se a solicitação for concluída, o corpo da resposta estará vazio.
Escopos de autorização
Requer o seguinte escopo OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
Para mais informações, consulte a Visão geral do OAuth 2.0.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 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)."]]