<br />

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](https://developers.google.com/my-business/content/accounts) and
[Manage listing details](https://developers.google.com/my-business/content/manage-locations).

Admins for accounts and locations are represented by the following collections:

- [accounts.admins](https://developers.google.com/my-business/reference/accountmanagement/rest/v1/accounts.admins)
- [accounts.locations.admins](https://developers.google.com/my-business/reference/accountmanagement/rest/v1/locations.admins)

The resource paths for admins are as follows:

```
accounts/{accountId}/admins/{adminId}
locations/{locationId}/admins/{adminId}
```
You can perform the following operations:

<br />

- [List admins for an account or location](https://developers.google.com/my-business/reference/accountmanagement/rest/v1/accounts.admins/list)
- [Add an admin to an account or location](https://developers.google.com/my-business/reference/accountmanagement/rest/v1/accounts.admins/create)
- [Remove an admin from an account or location](https://developers.google.com/my-business/reference/accountmanagement/rest/v1/accounts.admins/delete)

## List admins for an account or location

Lists the admins for the specified account or location.
HTTP

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

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

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/locations/{locationId}/admins/{adminId}
```