Method: admin.directory.v1.customers.chrome.printServers.batchDeletePrintServers

刪除多個印表機伺服器。

HTTP 要求

POST https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
parent

string

必要欄位。客戶 Google Workspace 帳戶的專屬 ID

格式︰customers/{customer.id}

要求主體

要求主體的資料會採用以下結構:

JSON 表示法
{
  "printServerIds": [
    string
  ]
}
欄位
printServerIds[]

string

應刪除的列印伺服器 ID 清單 (每個批次最多 100 個)。

回應主體

如果成功,回應主體即會包含具有以下結構的資料:

JSON 表示法
{
  "printServerIds": [
    string
  ],
  "failedPrintServers": [
    {
      object (PrintServerFailureInfo)
    }
  ]
}
欄位
printServerIds[]

string

成功刪除印表機伺服器 ID 清單。

failedPrintServers[]

object (PrintServerFailureInfo)

更新失敗清單。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/admin.chrome.printers

詳情請參閱授權指南