Method: admin.directory.v1.customers.chrome.printServers.batchDeletePrintServers
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa wiele serwerów wydruku.
Żądanie HTTP
POST https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Unikalny identyfikator konta Google Workspace klienta. Format: customers/{customer.id}
|
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"printServerIds": [
string
]
} |
Pola |
printServerIds[] |
string
Lista identyfikatorów serwerów wydruku, które mają zostać usunięte (maksymalnie 100 na partię).
|
Treść odpowiedzi
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Pola |
printServerIds[] |
string
Lista identyfikatorów serwerów wydruku, które zostały usunięte.
|
failedPrintServers[] |
object (PrintServerFailureInfo )
Lista błędów aktualizacji.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/admin.chrome.printers
Więcej informacji znajdziesz w przewodniku dotyczącym autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# Method: admin.directory.v1.customers.chrome.printServers.batchDeletePrintServers\n\nDeletes multiple print servers.\n\n### HTTP request\n\n`POST https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{customer.id}` |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------|\n| ``` { \"printServerIds\": [ string ] } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------|\n| `printServerIds[]` | `string` A list of print server IDs that should be deleted (max `100` per batch). |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"printServerIds\": [ string ], \"failedPrintServers\": [ { object (/workspace/admin/chrome-printer/reference/rest/v1/PrintServerFailureInfo) } ] } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| `printServerIds[]` | `string` A list of print server IDs that were successfully deleted. |\n| `failedPrintServers[]` | `object (`[PrintServerFailureInfo](/workspace/admin/chrome-printer/reference/rest/v1/PrintServerFailureInfo)`)` A list of update failures. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.chrome.printers`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]