---
title: "Update GBP location"
method: PUT
path: "/v1/accounts/{accountId}/gmb-locations"
tags: ["Connect"]
---

# Update GBP location

`PUT /v1/accounts/{accountId}/gmb-locations`

Switch which GBP location is active for a connected account.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `selectedLocationId` string, required
  - `googleAccountId` string — Optional but recommended. The Google Business Account resource name ("accounts/123") that owns the new location (from GET gmb-locations). When provided, the location is resolved directly instead of by enumerating the account, which is required for accounts with many locations. Named `googleAccountId` to disambiguate from the path `accountId` (the Zernio account). The legacy field name `accountId` is still accepted for backwards compatibility.

## Response `200`

Location updated

- object
  - `message` string
  - `selectedLocation` object
    - `id` string
    - `name` string

## Other responses

- `400` — Location not in available locations, or the provided googleAccountId is not one of the accounts this connection manages
- `401` — Unauthorized
- `404` — Account not found

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/f81ca70ea6b9/schema)
