Method: accounts.invitations.decline
HTTP リクエスト
POST https://mybusinessaccountmanagement.googleapis.com/v1/{name=accounts/*/invitations/*}:decline
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。承認されなかったアカウント招待の名前。accounts/{account_id}/invitations/{invitation_id}
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/business.manage
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[null,null,["最終更新日 2023-12-01 UTC。"],[[["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."]]],["This document details the process of declining an account invitation via an HTTP POST request. The request URL uses gRPC Transcoding syntax and requires a `name` path parameter, specifying the invitation's location. The request body must be empty. A successful operation results in an empty response body. Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope. This process involves a single action of declining an invitation given its id, by performing a `POST` request.\n"]]