REST Resource: accounts.locations.admins

Resource: Admin

An administrator of an Account or a Location.

JSON representation
{
  "name": string,
  "adminName": string,
  "role": enum(AdminRole),
  "pendingInvitation": boolean
}
Fields
name

string

The resource name. For account admins, this is in the form: accounts/{account_id}/admins/{adminId}

For location admins, this is in the form: accounts/{account_id}/locations/{location_id}/admins/{adminId}

adminName

string

The name of the admin. When making the initial invitation, this is the invitee's email address. On GET calls, the user's email address is returned if the invitation is still pending. Otherwise, it contains the user's first and last names.

role

enum(AdminRole)

Specifies the AdminRole that this admin uses with the specified Account or Location resource.

pendingInvitation

boolean

Output only. Indicates whether this admin has a pending invitation for the specified resource.

Methods

create

Invites the specified user to become an administrator for the specified location.

delete

Removes the specified admin as a manager of the specified location.

list

Lists all of the admins for the specified location.

patch

Updates the Admin for the specified Location Admin.

Send feedback about...

Google My Business API
Google My Business API
Need help? Visit our support page.