Method: customers.configurations.delete
刪除未使用的設定。如果客戶的裝置已套用設定,API 呼叫就會失敗。
HTTP 要求
DELETE https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
name |
string
必要欄位。要刪除的設定。採用 customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID] 格式的 API 資源名稱。如果設定適用於任何裝置,API 呼叫就會失敗。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidworkzerotouchemm
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-07 (世界標準時間)。
[null,null,["上次更新時間:2024-08-07 (世界標準時間)。"],[[["This API endpoint is used to delete an unused configuration using a DELETE HTTP request."],["The `name` path parameter is required, which specifies the configuration to delete in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`."],["The request body for this operation must be empty."],["If successful, the response body will also be empty, and it fails if the configuration is applied to any devices."],["The authorization scope required for this operation is `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],["This describes how to delete a configuration using a `DELETE` HTTP request to a specific URL: `https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/configurations/*}`. The `name` path parameter, formatted as `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`, is required. The request body must be empty. A successful request returns an empty response body. The API call will fail if devices are using the targeted configuration, and requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` authorization scope.\n"]]