L'API
Google Business Performance ha un metodo
NOVITÀ che consente di recuperare più `dailyMetrics` in un'unica richiesta API.
Consulta il
calendario del ritiro e le istruzioni per eseguire la migrazione dal metodo API ReportInsights della versione 4 all'API Performance di Google Profilo.
Method: accounts.admins.delete
Rimuove l'amministratore specificato dall'account specificato.
Richiesta HTTP
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/admins/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Il nome della risorsa che l'amministratore deve rimuovere dall'account.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta è vuoto.
Ambiti di autorizzazione
Richiede uno dei seguenti ambiti OAuth:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Per ulteriori informazioni, consulta la Panoramica di OAuth 2.0.
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 2023-12-01 UTC.
[null,null,["Ultimo aggiornamento 2023-12-01 UTC."],[[["This document describes how to remove an admin from a Google My Business account using the Accounts API."],["It uses a DELETE request to the `https://mybusiness.googleapis.com/v4/{name=accounts/*/admins/*}` endpoint."],["The request requires the `name` path parameter to specify the admin to remove and must have an empty request body."],["It requires specific OAuth scopes for authorization and, if successful, returns an empty response body."],["**Deprecated:** It's recommended to use the Account Management API instead for this functionality."]]],["This document outlines the process for removing an admin from an account using a deprecated API. The `DELETE` request, sent to `https://mybusiness.googleapis.com/v4/{name=accounts/*/admins/*}`, utilizes gRPC Transcoding. The `name` parameter specifies the admin to be removed. The request body must be empty. A successful response will also have an empty body. This operation requires either the `plus.business.manage` or `business.manage` OAuth scope for authorization. Please note that the [Account Management API](https://developers.google.com/my-business/reference/accountmanagement/rest/v1/accounts.admins/delete) is prefered.\n"]]