AI-generated Key Takeaways
-
This method adds or updates a per-device managed configuration for an app on a specific device, but is deprecated and will be inaccessible after September 30, 2025.
-
New integrations should refer to the recommended alternatives provided in the documentation instead of using this method.
-
Authorization with the
https://www.googleapis.com/auth/androidenterprise
scope is required to use this method. -
The request involves specifying enterprise ID, user ID, device ID, and managed configuration ID as path parameters.
-
A successful request will return a
Managedconfigurationsfordevice
resource in the response body.
Adds or updates a per-device managed configuration for an app for the specified device.
Request
HTTP request
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/managedConfigurationsForDevice/managedConfigurationForDeviceId
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
deviceId |
string |
The Android ID of the device. |
enterpriseId |
string |
The ID of the enterprise. |
managedConfigurationForDeviceId |
string |
The ID of the managed configuration (a product ID), 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 a Managedconfigurationsfordevice resource.
Response
If successful, this method returns a Managedconfigurationsfordevice resource in the response body.