AI-generated Key Takeaways
-
This method, which will be inaccessible after September 30, 2025, requests the installation or update of an app to the latest version on a device.
-
It requires authorization with the
https://www.googleapis.com/auth/androidenterprise
scope and utilizes specific path parameters likedeviceId
,enterpriseId
,installId
, anduserId
. -
New integrations are advised to refer to updated recommendations as this method is deprecated.
-
Upon successful execution, an
Installs resource
is returned in the response body.
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.