Method: deployments.devices.delete
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست HTTP
DELETE https://sasportal.googleapis.com/v1alpha1/{name=deployments/*/devices/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام دستگاه. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/sasportal
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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,["# Method: deployments.devices.delete\n\n- [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\n### HTTP 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\n### Path parameters\n\n| Parameters ||\n|--------|--------------------------------------------|\n| `name` | `string` Required. The name of the device. |\n\n### Request body\n\nThe request body must be empty.\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/sasportal`"]]