device_Device Enrollment in EMM

Update the Google EMM Policy details for a specific device.

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 update
  • applications — List of managed applications to set in the device's Google EMM policy
  • is_provisioning — Whether this update is part of initial device provisioning
  • is_converging — Whether this update is part of a Blueprint converge operation
put/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

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

Query parameters

is_provisioningstring

Flag indicating if provisioning is enabled (true or false). Default is false.

is_convergingstring

Flag indicating if convergence is enabled (true or false). Default is false.

Request body

Example request

{
  "applications": [
    {
      "product_id": "app:com.android.chrome",
      "mcm_id": "mcm_12345",
      "app_action": "install"
    }
  ]
}

Response

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

Example response

{
  "content": {
    "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.