Google Enterprise

APIs to enroll the enterprise in Google EMM.

Generate sign-up URL

Request
header Parameters
Authorization
required
string

Bearer token for authorization

Request Body schema: application/json
required
callback_url
required
string
Responses
201

Successfully generated sign-up URL

400

Invalid input

401

Unauthorized

409

Conflict: Google Enterprise already exists and is enrolled to Google EMM

500

Internal server error

post/v2/emm/enrollment/begin/
Request samples
application/json
{
  • "callback_url": "string"
}
Response samples
application/json
{
  • "signup_url": "string",
  • "completion_token": "string"
}

Return the enrollment status of the Enterprise

Request
header Parameters
Authorization
required
string

Bearer token for authorization

Responses
200

Successfully retrieved enrollment status

400

Invalid input

401

Unauthorized

500

Internal server error

get/v2/emm/details/
Request samples
Response samples
application/json
{
  • "content": {
    }
}

Create a Google Web Token

Request
header Parameters
Authorization
required
string

Bearer token for authorization

Request Body schema: application/json
required
google_enterprise_id
required
string non-empty

The ID of the Google enterprise. It is required and cannot be empty.

parent_url
required
string <uri> ^https://

The parent URL. It must be a valid URL with the https scheme.

Responses
200

Successful Response

400

Invalid input

401

Unauthorized

500

Internal server error

post/v2/emm/web-token/
Request samples
application/json
{}
Response samples
application/json
{
  • "token": "test_1245"
}

Complete EMM enrollment for a Google Enterprise

Request
header Parameters
Authorization
required
string

Bearer token for authorization

Request Body schema: application/json
required
completion_token
required
string
enterprise_token
required
string
Responses
200

Successfully completed EMM enrollment

400

Invalid input

401

Unauthorized

404

Not Found

500

Internal server error

post/v2/emm/enrollment/complete/
Request samples
application/json
{
  • "completion_token": "string",
  • "enterprise_token": "string"
}
Response samples
application/json
{
  • "id": 0,
  • "google_enterprise_id": "string",
  • "name": "string",
  • "state": 0,
  • "callback_url": "string",
  • "signup_url": "string",
  • "completion_token": "string",
  • "enterprise_token": "string",
  • "created_at": "2019-08-24T14:15:22Z",
  • "updated_at": "2019-08-24T14:15:22Z",
  • "tenant_id": "string"
}

Return the Google Service Account of the Enterprise

Request
header Parameters
Authorization
required
string

Bearer token for authorization

Responses
200

Successfully retrieved Google Service Account

400

Invalid input

401

Unauthorized

500

Internal server error

get/v2/emm/accounts/
Request samples
Response samples
application/json
{
  • "content": {
    }
}