Method: deployments.devices.delete
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
DELETE https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the device.
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sasportal
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 2023-12-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-05 UTC."],[[["\u003cp\u003eDeletes a specific device within a deployment using an HTTP DELETE request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires the device's name as a path parameter, following a specific format.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and upon successful deletion, the response body will also be empty.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["A device is deleted via an HTTP DELETE request to a specified URL. The URL, using gRPC Transcoding syntax, requires a `name` parameter to identify the target device. The request body must be empty. A successful operation will yield an empty response body. This action requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization. The core process consists of making the delete request, using the provided endpoint and providing the right name and oauth scopes.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nDeletes a [device](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device).\n\nHTTP request\n\n`DELETE https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|--------|--------------------------------------------|\n| `name` | `string` Required. The name of the device. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body is empty.\n\nAuthorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]