v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1320176217.8 KB
enterprises

Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail

post/v1/enterprises

Query parameters

agreementAcceptedboolean

Whether the enterprise admin has seen and agreed to the managed Google Play Agreement (https://www.android.com/enterprise/terms/). Do not set this field for any customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises). Set this to field to true for all EMM-managed enterprises (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).

enterpriseTokenstring

The enterprise token appended to the callback URL. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).

projectIdstring

The ID of the Google Cloud Platform project which will own the enterprise.

signupUrlNamestring

The name of the SignupUrl used to sign up for the enterprise. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).

Request body

managedGoogleDomainType'MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED' | 'TYPE_TEAM' | 'TYPE_DOMAIN'

Output only. The type of managed Google domain.

primaryColorinteger

A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive.

pubsubTopicstring

The topic which Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.

enterpriseDisplayNamestring

The name of the enterprise displayed to users. This field has a maximum length of 100 characters.

namestring

The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}.

appAutoApprovalEnabledboolean

Deprecated and unused.

managedGooglePlayAccountsEnterpriseType'MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE_TYPE_UNSPECIFIED' | 'CUSTOMER_MANAGED' | 'EMM_MANAGED'

Output only. The type of a managed Google Play Accounts enterprise.

enterpriseType'ENTERPRISE_TYPE_UNSPECIFIED' | 'MANAGED_GOOGLE_DOMAIN' | 'MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE'

Output only. The type of the enterprise.

enabledNotificationTypesstring[]

The types of Google Pub/Sub notifications enabled for the enterprise.

Response

Successful response