Device Enrollment in EMM

APIs to enroll device with Google EMM

Get the Google EMM Policy details for a specific device.

Request
path Parameters
deviceId
required
string <uuid>

ID of the device for which to retrieve the Google EMM policy

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not found

500

Internal Server Error

get/v2/device/{deviceId}/google-account/policy/
Request samples
Response samples
application/json
{
  • "android_id": "string",
  • "management_type": "string",
  • "policy": {
    }
}

Update the Google EMM Policy details for a specific device.

Request
path Parameters
deviceId
required
string <uuid>

The unique identifier of the device for which Google account details need to be updated.

Request Body schema: application/json
required
Array of objects (GoogleApplication)
Responses
200

Successfully updated the Google EMM policy details for the specified device.

400

Bad request due to invalid input.

401

Unauthorized access.

404

Device not found for the provided deviceId.

500

Internal server error occurred while processing the request.

put/v2/device/{deviceId}/google-account/policy/
Request samples
application/json
{
  • "applications": [
    ]
}
Response samples
application/json
{
  • "content": {
    }
}

Return the Google account details of the EMM enrollment stored in the database for the specified device.

Request
path Parameters
deviceId
required
string <uuid>

ID of the device for which to retrieve the EMM enrollment status

Responses
200

Success

400

Bad Request

401

Unauthorized

500

Internal Server Error

get/v2/device/{deviceId}/google-accounts/
Request samples
Response samples
application/json
{
  • "content": {
    }
}

Update the Google account details of the EMM enrollment stored in the database for a specific device.

Request
path Parameters
deviceId
required
string <uuid>

The unique identifier of the device for which Google account details need to be updated.

Request Body schema: application/json
required
google_device_id
required
string

Unique identifier for the Google device.

google_user_id
required
string

Unique identifier for the Google user.

Responses
200

Successfully updated the Google account details.

400

Bad request due to invalid input.

401

Unauthorized access.

404

Device not found for the provided deviceId.

500

Internal server error occurred while processing the request.

put/v2/device/{deviceId}/google-accounts/
Request samples
application/json
{
  • "google_device_id": "string",
  • "google_user_id": "string"
}
Response samples
application/json
{
  • "content": {
    }
}

Create a Google user and generate a Google auth token for a specific device on the Google EMM side.

Request
path Parameters
deviceId
required
string <uuid>

The unique identifier of the device for which Google account details need to be updated.

Responses
200

Successfully updated the Google account details.

401

Unauthorized access.

404

Device not found for the provided deviceId.

409

Conflict

500

Internal server error occurred while processing the request.

post/v2/device/{deviceId}/google-accounts/
Request samples
Response samples
application/json
{
  • "content": {
    }
}