Google Business Profile Business Profile Mybusinessaccountmanagement Locations API

The Business Profile Mybusinessaccountmanagement Locations API from Google Business Profile — 3 operation(s) for business profile mybusinessaccountmanagement locations.

GitHub OpenAPI

Operations 5

POST /v1/locations/{locationsId}:transfer Transfer locations #
GET /v1/locations/{locationsId}/admins List admins #
POST /v1/locations/{locationsId}/admins Create admins #
PATCH /v1/locations/{locationsId}/admins/{adminsId} Patch admins #
DELETE /v1/locations/{locationsId}/admins/{adminsId} Delete admins #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-business-profile:google-business-profile-mybusinessaccountmanagement-locations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-business-profile-mybusinessaccountmanagement-locations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: My Business Account Management API Locations API
  version: v1
  description: Generated from Google's published Discovery document for My Business Account Management API (mybusinessaccountmanagement
    v1, revision 20261110). 5 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://developers.google.com/my-business/
servers:
- url: https://mybusinessaccountmanagement.googleapis.com
paths:
  /v1/locations/{locationsId}:transfer:
    post:
      operationId: mybusinessaccountmanagement.locations.transfer
      summary: Transfer locations
      description: Moves a location from an account that the user owns to another account that the same user administers.
        The user must be an owner of the account the location is currently associated with and must also be at least a manager
        of the destination account.
      parameters:
      - name: locationsId
        in: path
        required: true
        description: Resource name segment (locationsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferLocationRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
        4XX:
          content: &id001
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id001
          description: Error response (google.rpc.Status)
      security:
      - apiKey: []
      tags:
      - Locations
  /v1/locations/{locationsId}/admins:
    get:
      operationId: mybusinessaccountmanagement.locations.admins.list
      summary: List admins
      description: Lists all of the admins for the specified location.
      parameters:
      - name: locationsId
        in: path
        required: true
        description: Resource name segment (locationsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLocationAdminsResponse'
        4XX:
          content: &id002
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id002
          description: Error response (google.rpc.Status)
      security:
      - apiKey: []
      tags:
      - Locations
    post:
      operationId: mybusinessaccountmanagement.locations.admins.create
      summary: Create admins
      description: Invites the specified user to become an administrator for the specified location. The invitee must accept
        the invitation in order to be granted access to the location. See AcceptInvitation to programmatically accept an invitation.
      parameters:
      - name: locationsId
        in: path
        required: true
        description: Resource name segment (locationsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Admin'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Admin'
        4XX:
          content: &id003
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id003
          description: Error response (google.rpc.Status)
      security:
      - apiKey: []
      tags:
      - Locations
  /v1/locations/{locationsId}/admins/{adminsId}:
    patch:
      operationId: mybusinessaccountmanagement.locations.admins.patch
      summary: Patch admins
      description: Updates the Admin for the specified location. Only the AdminRole of the Admin can be updated.
      parameters:
      - name: locationsId
        in: path
        required: true
        description: Resource name segment (locationsId).
        schema:
          type: string
      - name: adminsId
        in: path
        required: true
        description: Resource name segment (adminsId).
        schema:
          type: string
      - name: updateMask
        in: query
        required: false
        description: Required. The specific fields that should be updated. The only editable field is role.
        schema:
          format: google-fieldmask
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Admin'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Admin'
        4XX:
          content: &id004
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id004
          description: Error response (google.rpc.Status)
      security:
      - apiKey: []
      tags:
      - Locations
    delete:
      operationId: mybusinessaccountmanagement.locations.admins.delete
      summary: Delete admins
      description: Removes the specified admin as a manager of the specified location.
      parameters:
      - name: locationsId
        in: path
        required: true
        description: Resource name segment (locationsId).
        schema:
          type: string
      - name: adminsId
        in: path
        required: true
        description: Resource name segment (adminsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
        4XX:
          content: &id005
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id005
          description: Error response (google.rpc.Status)
      security:
      - apiKey: []
      tags:
      - Locations
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
  schemas:
    Admin:
      type: object
      description: An administrator of an Account or a location.
      properties:
        role:
          type: string
          enum:
          - ADMIN_ROLE_UNSPECIFIED
          - PRIMARY_OWNER
          - OWNER
          - MANAGER
          - SITE_MANAGER
          description: Required. Specifies the role that this admin uses with the specified Account or Location.
        account:
          type: string
          description: 'Immutable. The name of the Account resource that this Admin refers to. Used when calling locations.admins.create
            to invite a LocationGroup as an admin. If both this field and `admin` are set on `CREATE` requests, this field
            takes precedence and the email address in `admin` will be ignored. Format: `accounts/{account}`.'
        name:
          description: 'Immutable. The resource name. For account admins, this is in the form: `accounts/{account_id}/admins/{admin_id}`
            For location admins, this is in the form: `locations/{location_id}/admins/{admin_id}` This field will be ignored
            if set during admin creation.'
          type: string
        admin:
          description: Optional. 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. This field is only needed to be set during admin creation.
          type: string
        pendingInvitation:
          description: Output only. Indicates whether this admin has a pending invitation for the specified resource.
          readOnly: true
          type: boolean
    Empty:
      type: object
      description: 'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
        A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc
        Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }'
      properties: {}
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    ListLocationAdminsResponse:
      type: object
      properties:
        admins:
          description: A collection of Admins.
          items:
            $ref: '#/components/schemas/Admin'
          type: array
      description: Response message for AccessControl.ListLocationAdmins.
    TransferLocationRequest:
      description: Request message for AccessControl.TransferLocation.
      type: object
      properties:
        destinationAccount:
          description: Required. Name of the account resource to transfer the location to (for example, "accounts/{account}").
          type: string
x-provenance:
  method: harvested
  publisher: Google
  source: https://mybusinessaccountmanagement.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)