批次刪除印表機。
HTTP 要求
POST https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printers:batchDeletePrinters
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
| parent | 
 必要欄位。客戶名稱。格式:customers/{customer_id} | 
要求主體
要求主體的資料會採用以下結構:
| JSON 表示法 | 
|---|
| { "printerIds": [ string ] } | 
| 欄位 | |
|---|---|
| printerIds[] | 
 應刪除的 Printer.id 清單。一次最多 100 個。 | 
回應主體
回覆內容:批次刪除現有印表機。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 | 
|---|
| {
  "printerIds": [
    string
  ],
  "failedPrinters": [
    {
      object ( | 
| 欄位 | |
|---|---|
| printerIds[] | 
 已成功刪除的 Printer.id 清單。 | 
| failedPrinters[] | 
 更新失敗項目清單。 | 
授權範圍
需要下列 OAuth 範圍:
- https://www.googleapis.com/auth/admin.chrome.printers
詳情請參閱授權指南。