Managedconfigurationsfordevice: update

为指定设备的应用添加或更新基于设备的托管配置。

请求

HTTP 请求

PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/managedConfigurationsForDevice/managedConfigurationForDeviceId

参数

参数名称 价值 说明
路径参数
deviceId string 设备的 Android ID。
enterpriseId string 企业的 ID。
managedConfigurationForDeviceId string 受管配置的 ID(产品 ID),例如“app:com.google.android.gm”。
userId string 用户的 ID。

授权

此请求需要获得以下范围的授权:

范围
https://www.googleapis.com/auth/androidenterprise

如需了解详情,请参阅身份验证和授权页面。

请求正文

在请求正文中,提供 Managedconfigurationsfordevice 资源

响应

如果成功,此方法将在响应正文中返回 Managedconfigurationsfordevice 资源