accounts

Creates an account with the specified name and type under the given parent. - Personal accounts and Organizations cannot be created. - User Groups cannot be created with a Personal account as primary owner. - Location Groups cannot be created with a primary owner of a Personal account if the Personal account is in an Organization. - Location Groups cannot own Location Groups.

post/v1/accounts

Request

  • Base URL: https://mybusinessaccountmanagement.googleapis.com
  • URL: https://mybusinessaccountmanagement.googleapis.com/v1/accounts
  • Auth: none declared

Request body

accountNamestring

Required. The name of the account. For an account of type PERSONAL, this is the first and last name of the user account.

accountNumberstring

Output only. Account reference number if provisioned.

namestring

Immutable. The resource name, in the format accounts/{account_id}.

permissionLevel'PERMISSION_LEVEL_UNSPECIFIED' | 'OWNER_LEVEL' | 'MEMBER_LEVEL'

Output only. Specifies the permission level the user has for this account.

primaryOwnerstring

Required. Input only. The resource name of the account which will be the primary owner of the account being created. It should be of the form accounts/{account_id}.

role'ACCOUNT_ROLE_UNSPECIFIED' | 'PRIMARY_OWNER' | 'OWNER' | 'MANAGER' | 'SITE_MANAGER'

Output only. Specifies the AccountRole of this account.

type'ACCOUNT_TYPE_UNSPECIFIED' | 'PERSONAL' | 'LOCATION_GROUP' | 'USER_GROUP' | 'ORGANIZATION'

Required. Contains the type of account. Accounts of type PERSONAL and ORGANIZATION cannot be created using this API.

verificationState'VERIFICATION_STATE_UNSPECIFIED' | 'VERIFIED' | 'UNVERIFIED' | 'VERIFICATION_REQUESTED'

Output only. If verified, future locations that are created are automatically connected to Google Maps, and have Google+ pages created, without requiring moderation.

vettedState'VETTED_STATE_UNSPECIFIED' | 'NOT_VETTED' | 'VETTED' | 'INVALID'

Output only. Indicates whether the account is vetted by Google. A vetted account is able to verify locations via the VETTED_PARTNER method.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status