Method: accounts.locations.admins.create
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定したユーザーを、指定したビジネスの管理者として招待します。ビジネスへのアクセス権限を得るには、この招待状を受け入れる必要があります。プログラムで招待を承諾する方法については、[invitations.accept]
[google.mybusiness.v4.AcceptInvitation] をご覧ください。
HTTP リクエスト
POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/admins
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
この管理者が作成されるビジネスのリソース名。
|
リクエスト本文
リクエストの本文には Admin
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された Admin
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],["This document details the process of inviting a user to become an administrator for a specific location. It uses a `POST` request to `https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/admins`, with the `parent` path parameter defining the location. The request body should contain an `Admin` instance. A successful operation returns a newly created `Admin` instance. This function requires one of two specified OAuth scopes. Deprecated, user should refer to the Account Management API.\n"],null,[]]