In the My Business Account Management API, managers for business accounts and locations are referred to as admins. To find out more about how admins can manage accounts and locations, see Business Profile accounts and location groups and Manage listing details.
Admins for accounts and locations are represented by the following collections:
The resource paths for admins are as follows:
accounts/{accountId}/admins/{adminId} locations/{locationId}/admins/{adminId}
- List admins for an account or location
- Add an admin to an account or location
- Remove an admin from an account or location
List admins for an account or location
Lists the admins for the specified account or location.
To list the admins for an account
GET https://mybusiness.googleapis.com/v1/accounts/{accountId}/admins
To list the admins for a location
GET https://mybusinessaccountmanagement.googleapis.com/v1/locations/{locationId}/admins
Add an admin to an account or location
Invites someone to become an admin for an account or location. You must associate the invitee's email address with a Google Account. When the invitee signs in to Business Profile using their Google Account, they will be prompted to agree to the terms and conditions before they can make changes.
To invite a user to be an admin for an account
POST https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}/admins
To invite a user to be an admin for a location
POST https://mybusinessaccountmanagement.googleapis.com/v1/locations/{locationId}/admins { "role": "MANAGER", "adminName": "example@example.com" }
To invite a LocationGroup to be an admin for a location
POST https://mybusinessaccountmanagement.googleapis.com/v1/locations/{locationId}/admins { "account": "LocationGroupID", "role": "MANAGER" }
Remove an admin from an account or location
Removes an admin from the specified account or location.
To remove an admin from an account
DELETE https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}/admins/{adminId}
To remove an admin from a location
DELETE https://mybusinessaccountmanagement.googleapis.com/v1/accounts/locations/{locationId}/admins/{adminId}