v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137790167.2 KB
installs

Requests to install the latest version of an app to a device. If the app is already installed, then it is updated to the latest version if necessary.

put/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}

Path parameters

enterpriseIdstring required

The ID of the enterprise.

userIdstring required

The ID of the user.

deviceIdstring required

The Android ID of the device.

installIdstring required

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Request body

productIdstring

The ID of the product that the install is for. For example, "app:com.google.android.gm".

versionCodeinteger

The version of the installed product. Guaranteed to be set only if the install state is "installed".

installState'installed' | 'installPending'

Install state. The state "installPending" means that an install request has recently been made and download to the device is in progress. The state "installed" means that the app has been installed. This field is read-only.

Response

Successful response