Interfejs
Google Business Performance API udostępnia
NOWĄ metodę interfejsu API, która umożliwia pobieranie wielu parametrów „DailyMetrics” w jednym żądaniu API.
Zapoznaj się z
harmonogramem wycofywania i instrukcjami, jak przejść z metody raportu API w wersji 4 na interfejs Google Business Profile Performance API.
Method: accounts.locations.admins.delete
Usuwa wskazanego administratora jako menedżera określonej lokalizacji.
Żądanie HTTP
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/admins/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa zasobu administratora, który ma zostać usunięty z lokalizacji.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie pusta.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
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: 2023-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["This API endpoint (`DELETE`) removes a specified admin from a Google My Business location."],["It requires an empty request body and returns an empty response body upon successful execution."],["The API uses the `name` path parameter to identify the admin to be removed."],["Authorization is required using one of the specified OAuth scopes: `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."],["This endpoint is deprecated; use the Account Management API instead."]]],["This document outlines the process for removing an admin from a location via a `DELETE` HTTP request. The request uses a specific URL structure with a required `name` path parameter that represents the admin to be removed. The request body must be empty. A successful operation returns an empty response body. The method requires either the `plus.business.manage` or `business.manage` OAuth scope for authorization. Note that this method is deprecated, instead use the Account Management API.\n"]]