device_Device Enrollment in EMM

Get the Google EMM Policy details for a specific device.

Retrieves the Google EMM policy details currently applied to a specific device.

Returns the Google EMM policy configuration (including managed applications) associated with the device's Google account enrollment.

About Device Google EMM Policy When a device is enrolled via Google EMM, Google maintains a policy for that device (distinct from, but often derived from, an Esper Enterprise Policy) that governs managed app behavior. This endpoint reflects that policy as currently applied on the Google side.

Key Fields / Query Parameters

  • deviceId — UUID of the device whose Google EMM policy to retrieve
get/v2/devices/{deviceId}/google-accounts/policy/

Request

  • Base URL
    https://develop-api.esper.cloud/api
  • URL
    https://develop-api.esper.cloud/api/v2/devices/{deviceId}/google-accounts/policy/
  • Auth
    none declared

Path parameters

deviceIdstring uuid required

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

Response

Success

android_idstring

Unique identifier for the Android device.

management_typestring

The management type of the device (e.g., managedDevice).

Example response

{
  "policy": {
    "product_policy": [
      {
        "managed_configuration": {
          "configuration_variables": {
            "mcm_id": "00982462290877382272",
            "variable_set": [
              {
                "placeholder": "$emailaddress$",
                "user_value": "user@example.com"
              }
            ]
          },
          "kind": "androidenterprise#managedConfiguration"
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 6 revisions of this API.