Method: mobiledevices.delete
HTTP request
DELETE https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customerId |
string
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the my_customer alias to represent your account's customerId . The customerId is also returned as part of the Users resource.
|
resourceId |
string
The unique ID the API service uses to identify the mobile device.
|
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admin.directory.device.mobile
For more information, see the Authorization guide.
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-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Permanently removes a specific mobile device from a Google Workspace account using a DELETE request."],["Requires administrator privileges and the `https://www.googleapis.com/auth/admin.directory.device.mobile` OAuth scope for authorization."],["The request needs the customer ID and the unique mobile device ID, and it doesn't require any data in the request body."]]],["The `DELETE` request removes a mobile device from a Google Workspace account. The request URL includes path parameters: `customerId`, representing the account's ID, and `resourceId`, the device's unique ID. The request body must be empty. A successful response is a generic HTTP response. The process requires the OAuth scope: `https://www.googleapis.com/auth/admin.directory.device.mobile`. Administrators can use `my_customer` in place of the account's `customerId`.\n"]]