Update your Google Business Profile API integration before critical endpoints are disabled. Review the deprecation schedule and instructions to avoid disruptions starting in April 2022.

Method: accounts.invitations.accept

Accepts the specified invitation.

HTTP request

POST https://mybusinessaccountmanagement.googleapis.com/v1/{name=accounts/*/invitations/*}:accept

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the invitation that is being accepted. accounts/{account_id}/invitations/{invitation_id}

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.