Skip to content

Get the Google EMM Policy details for a specific device.
Stable

Request

Path
deviceIdstring, (uuid)required

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

cURL
curl -i -X GET \
  'https://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/policy/'

Responses

Success

Bodyapplication/json
android_idstring

Unique identifier for the Android device.

management_typestring

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

policyobject(device_Policy)
Response
{ "android_id": "string", "management_type": "string", "policy": { "auto_update_policy": "string", "device_report_policy": "string", "product_availability_policy": "string", "product_policy": [] } }