Method: accounts.locations.admins.list

  • 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.

Lists all of the admins for the specified location.

HTTP request

GET https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/admins

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The name of the location to list admins of.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for AccessControl.ListLocationAdmins.

JSON representation
{
  "admins": [
    {
      object (Admin)
    }
  ]
}
Fields
admins[]

object (Admin)

A collection of Admin instances.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.