v1

latestOpenAPI 3.0.1Apache 2.02026-08-063494581.6 MB
device_Device Enrollment in EMM

Update the Google EMM Policy details for a specific device.

put/v2/devices/{deviceId}/google-accounts/policy/

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"
          }
        }
      ]
    }
  }
}