Method: customers.policies.networks.removeNetwork
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:removeNetwork
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
customer |
string
必要欄位。即將移除聯播網的客戶。
|
要求主體
要求主體的資料會採用以下結構:
JSON 表示法 |
{
"targetResource": string,
"networkId": string
} |
欄位 |
targetResource |
string
必要欄位。要移除這個網路的目標資源。支援的資源如下:* 機構單位 (「orgunits/{orgunit_id}」)
|
networkId |
string
必要欄位。要移除的網路指南。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/chrome.management.policy
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThis document explains how to remove an existing network for a specific customer using the Chrome Policy API.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the customer and the target resource (Organizational Unit) along with the network's GUID to be removed.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is needed with the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.policy\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return an empty response body.\u003c/p\u003e\n"]]],[],null,["# Method: customers.policies.networks.removeNetwork\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- [Try it!](#try-it)\n\nremove an existing network by guid.\n\n### HTTP request\n\n`POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:removeNetwork`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|----------------------------------------------------------------|\n| `customer` | `string` Required. The customer whose network will be removed. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------|\n| ``` { \"targetResource\": string, \"networkId\": string } ``` |\n\n| Fields ||\n|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetResource` | `string` Required. The target resource on which this network will be removed. The following resources are supported: \\* Organizational Unit (\"orgunits/{orgunit_id}\") |\n| `networkId` | `string` Required. The guid of the network to remove. |\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/chrome.management.policy`"]]