Updates the Google EMM policy applications for a specific device.
Sets the applications list on the device's Google EMM policy; optional is_provisioning and is_converging query parameters indicate whether this update is happening as part of device provisioning or a converge operation.
About Device Google EMM Policy This endpoint pushes managed-application policy changes directly to a device's Google EMM enrollment. It is typically invoked by Esper's own provisioning and converge workflows rather than called ad hoc, hence the is_provisioning/is_converging flags.
Key Fields / Query Parameters
deviceId— UUID of the device to updateapplications— List of managed applications to set in the device's Google EMM policyis_provisioning— Whether this update is part of initial device provisioningis_converging— Whether this update is part of a Blueprint converge operation
- Mock serverhttps://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/policy/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/devices/{deviceId}/google-accounts/policy/
curl -i -X PUT \
'https://api.esper.io/_mock/openapi/v2/devices/{deviceId}/google-accounts/policy/?is_provisioning=false&is_converging=false' \
-H 'Content-Type: application/json' \
-d '{
"applications": [
{
"product_id": "app:com.android.chrome",
"mcm_id": "mcm_12345",
"app_action": "install"
}
]
}'Response
{ "content": { "android_id": "string", "management_type": "string", "policy": { … } } }