AI-generated Key Takeaways
-
This endpoint declines a specified account invitation, essentially rejecting it.
-
It uses a
POST
request to a specific URL with the invitation's name as a path parameter. -
The request body should be empty, and a successful response will also be empty.
-
Authorization is required using specific OAuth scopes for business management.
-
Deprecated: This endpoint is outdated and users should transition to the Account Management API for this functionality.
Declines the specified invitation.
HTTP request
POST https://mybusiness.googleapis.com/v4/{name=accounts/*/invitations/*}:decline
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The name of the account invitation that is being declined. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.