删除多个打印服务器。
HTTP 请求
POST https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
| parent | 
 必需。客户 Google Workspace 账号的唯一 ID。 格式: | 
请求正文
请求正文中包含结构如下的数据:
| JSON 表示法 | 
|---|
| { "printServerIds": [ string ] } | 
| 字段 | |
|---|---|
| printServerIds[] | 
 应删除的打印服务器 ID 的列表(每批次最多  | 
响应正文
如果成功,响应正文将包含结构如下的数据:
| JSON 表示法 | 
|---|
| {
  "printServerIds": [
    string
  ],
  "failedPrintServers": [
    {
      object ( | 
| 字段 | |
|---|---|
| printServerIds[] | 
 已成功删除的打印服务器 ID 的列表。 | 
| failedPrintServers[] | 
 更新失败的列表。 | 
授权范围
需要以下 OAuth 范围:
- https://www.googleapis.com/auth/admin.chrome.printers
如需了解详情,请参阅授权指南。