LocalGroupFilterAccount

⌘K

List all groups for a given Moz Local Account ID.

JSON-RPC Method:

local.group.filter.account
Go to Example Code

Request

account_id

number | null

The id of the local account the location resides in. May be null for legacy inactive locations.

1{
2  "account_id": 123
3}

Response

groups

array

id

number

The ID of the local group.

name

string

The name of the local group.

account_id

number

The Moz Local Account ID the group belongs to.

1{
2  "groups": [
3    {
4      "id": 12345,
5      "name": "Franchise Locations",
6      "account_id": 123
7    },
8    {
9      "id": 54321,
10      "name": "Corporate Locations",
11      "account_id": 123
12    }
13  ]
14}

Example Code

Quota Usage

Does not require any quota.