Managedconfigurationsforuser: update

为指定用户添加或更新应用的托管配置设置。 如果您支持托管配置 iframe,则可以通过在请求中指定 mcmId 及其关联的配置变量(如果有)来为用户应用托管配置。或者,所有 EMM 都可以通过传递托管属性列表来应用托管配置。

请求

HTTP 请求

PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/managedConfigurationsForUser/managedConfigurationForUserId

参数

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

授权

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

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

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

请求正文

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

响应

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