Method: admin.directory.v1.customers.chrome.printServers.batchDeletePrintServers
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Consente di eliminare più server di stampa.
Richiesta HTTP
POST https://admin.googleapis.com/admin/directory/v1/{parent=customers/*}/chrome/printServers:batchDeletePrintServers
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. L'ID univoco dell'account Google Workspace del cliente. Formato: customers/{customer.id}
|
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"printServerIds": [
string
]
} |
Campi |
printServerIds[] |
string
Un elenco di ID server di stampa da eliminare (massimo 100 per batch).
|
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"printServerIds": [
string
],
"failedPrintServers": [
{
object (PrintServerFailureInfo )
}
]
} |
Campi |
printServerIds[] |
string
Un elenco di ID server di stampa eliminati correttamente.
|
failedPrintServers[] |
object (PrintServerFailureInfo )
Un elenco di errori di aggiornamento.
|
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/admin.chrome.printers
Per ulteriori informazioni, consulta la Guida all'autorizzazione.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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)."]]