Method: accounts.invitations.decline

  • Declines a specified invitation to a Google My Business account.

  • Requires an empty request body and returns an empty response body upon success.

  • Uses the POST method and the accounts/*/invitations/* path to identify the invitation.

  • Needs authorization with the https://www.googleapis.com/auth/business.manage scope.

Declines the specified invitation.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the account invitation that is being declined. 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.