Method: customers.devices.removeConfiguration
Stay organized with collections
Save and categorize content based on your preferences.
Removes a configuration from device.
HTTP request
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=customers/*}/devices:removeConfiguration
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The customer managing the device in the format customers/[CUSTOMER_ID] .
|
Request body
The request body contains data with the following structure:
Fields |
device |
object (DeviceReference )
Required. The device to remove the configuration from.
|
Response body
If successful, the response body is empty.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkzerotouchemm
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-07 UTC.
[null,null,["Last updated 2024-08-07 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)."]]