Method: admin.directory.v1.customers.chrome.printers.batchDeletePrinters

Deletes printers in batch.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the customer. Format: customers/{customer_id}

Request body

The request body contains data with the following structure:

JSON representation
{
  "printerIds": [
    string
  ]
}
Fields
printerIds[]

string

A list of Printer.id that should be deleted. Max 100 at a time.

Response body

If successful, the response body contains data with the following structure:

Response for deleting existing printers in batch.

JSON representation
{
  "printerIds": [
    string
  ],
  "failedPrinters": [
    {
      object (FailureInfo)
    }
  ]
}
Fields
printerIds[]

string

A list of Printer.id that were successfully deleted.

failedPrinters[]

object (FailureInfo)

A list of update failures.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.