계정 및 위치의 관리자 관리

My Business Account Management API에서는 비즈니스 계정 및 위치를 관리하는 사람을 관리자라고 합니다. 관리자가 계정 및 위치를 관리하는 방법을 자세히 알아보려면 비즈니스 프로필 계정 및 위치 그룹비즈니스 정보 세부정보 관리를 참고하세요.

계정 및 위치의 관리자는 다음 컬렉션으로 표시됩니다.

관리자용 리소스의 경로는 다음과 같습니다.

accounts/{accountId}/admins/{adminId}
locations/{locationId}/admins/{adminId}
다음 작업을 실행할 수 있습니다.

계정 또는 위치 관리자 목록 생성

지정된 계정 또는 위치 관리자의 목록을 생성합니다.

HTTP

계정 관리자 목록 생성

GET
https://mybusiness.googleapis.com/v1/accounts/{accountId}/admins

위치 관리자 목록 생성

GET
https://mybusinessaccountmanagement.googleapis.com/v1/locations/{locationId}/admins

계정 또는 위치에 관리자 추가

다른 사용자를 계정 또는 위치의 관리자로 초대합니다. 초대 대상자의 이메일 주소를 Google 계정과 연결해야 합니다. 초대 대상자가 Google 계정을 사용하여 비즈니스 프로필에 로그인하면 변경하기 전에 이용약관에 동의하라는 메시지가 표시됩니다.

HTTP

계정 관리자로 사용자 초대

POST
https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}/admins

위치 관리자로 사용자 초대

POST
https://mybusinessaccountmanagement.googleapis.com/v1/locations/{locationId}/admins
{
  "role": "MANAGER",
  "adminName": "example@example.com"
}

위치 관리자로 위치 그룹 초대

POST
https://mybusinessaccountmanagement.googleapis.com/v1/locations/{locationId}/admins
{
  "account": "LocationGroupID",
  "role": "MANAGER"
}

계정 또는 위치에서 관리자 삭제

지정된 계정 또는 위치에서 관리자를 삭제합니다.

HTTP

계정에서 관리자 삭제

DELETE
https://mybusinessaccountmanagement.googleapis.com/v1/accounts/{accountId}/admins/{adminId}

위치에서 관리자 삭제

DELETE
https://mybusinessaccountmanagement.googleapis.com/v1/accounts/locations/{locationId}/admins/{adminId}