Method: customers.configurations.delete
Borra una configuración que no se usa. La llamada a la API falla si el cliente tiene dispositivos con la configuración aplicada.
Solicitud HTTP
DELETE https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
name |
string
Obligatorio. La configuración que se borrará. Un nombre de recurso de API en el formato customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] . Si la configuración se aplica a cualquier dispositivo, la llamada a la API falla.
|
Cuerpo de la solicitud
El cuerpo de la solicitud debe estar vacío.
Cuerpo de la respuesta
Si se ejecuta correctamente, el cuerpo de la respuesta está vacío.
Alcances de la autorización
Requiere el siguiente alcance de OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
Para obtener más información, consulta la descripción general de OAuth 2.0.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-08-07 (UTC)
[null,null,["Última actualización: 2024-08-07 (UTC)"],[[["This API endpoint is used to delete an unused configuration using a DELETE HTTP request."],["The `name` path parameter is required, which specifies the configuration to delete in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`."],["The request body for this operation must be empty."],["If successful, the response body will also be empty, and it fails if the configuration is applied to any devices."],["The authorization scope required for this operation is `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],["This describes how to delete a configuration using a `DELETE` HTTP request to a specific URL: `https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}`. The `name` path parameter, formatted as `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`, is required. The request body must be empty. A successful request returns an empty response body. The API call will fail if devices are using the targeted configuration, and requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` authorization scope.\n"]]