Method: accounts.locations.admins.list
Список всех администраторов указанного местоположения.
HTTP-запрос
GET https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/admins
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
parent | string Название места, администраторов которого нужно вывести в список. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит данные следующей структуры:
Ответное сообщение для AccessControl.ListLocationAdmins.
JSON-представление |
---|
{
"admins": [
{
object (Admin )
}
]
} |
Поля |
---|
admins[] | object ( Admin ) Коллекция экземпляров Admin . |
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/plus.business.manage
-
https://www.googleapis.com/auth/business.manage
Дополнительную информацию см. в обзоре OAuth 2.0 .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-15 UTC.
[null,null,["Последнее обновление: 2024-11-15 UTC."],[[["This endpoint, which is deprecated and should be replaced with the Account Management API, lists all admins for a specified location."],["The request requires using the `GET` method with the provided URL structure, including a path parameter for the location."],["An empty request body is necessary, while the response will contain a JSON object with a list of admins."],["Authorization is required, needing one of two specified OAuth scopes for access."]]],["This document outlines the process to list admins for a specific location via a deprecated API. It utilizes a `GET` request to a URL with the location's path (`parent`). The request body is empty. A successful response returns a JSON object containing an array of `admins`. The API uses gRPC Transcoding syntax and requires specific OAuth scopes (`plus.business.manage` or `business.manage`). It indicates the user should use the Account Management API instead.\n"]]