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.
Request
HTTP request
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/installs/installId
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
deviceId |
string |
The Android ID of the device. |
enterpriseId |
string |
The ID of the enterprise. |
installId |
string |
The ID of the product represented by the install, e.g. "app:com.google.android.gm". |
userId |
string |
The ID of the user. |
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/androidenterprise |
For more information, see the authentication and authorization page.
Request body
In the request body, supply an Installs resource.
Response
If successful, this method returns an Installs resource in the response body.