Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Adiciona ou atualiza uma configuração gerenciada por dispositivo para um app para o
em um dispositivo específico.
Solicitação
Solicitação HTTP
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/managedConfigurationsForDevice/managedConfigurationForDeviceId
Parâmetros
Nome do parâmetro
Valor
Descrição
Parâmetros de caminho
deviceId
string
O ID do Android do dispositivo.
enterpriseId
string
O ID da empresa.
managedConfigurationForDeviceId
string
O ID da configuração gerenciada (um ID de produto), por exemplo,
"app:com.google.android.gm".
userId
string
O ID do usuário.
Autorização
Esta solicitação requer autorização com o seguinte escopo:
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eNew integrations should refer to the recommended alternatives provided in the documentation instead of using this method.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is required to use this method.\u003c/p\u003e\n"],["\u003cp\u003eThe request involves specifying enterprise ID, user ID, device ID, and managed configuration ID as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return a \u003ccode\u003eManagedconfigurationsfordevice\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"]]],[],null,["# Managedconfigurationsfordevice: update\n\n| **Note:** Requires [authorization](#auth).\n\n\u003cbr /\u003e\n\n| **Deprecated:** New integrations cannot use this method and can refer to our [new\n| recommendations](/android/work/deprecations#recommended_alternative_5). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nAdds or updates a per-device managed configuration for an app for the specified device.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/managedConfigurationsForDevice/managedConfigurationForDeviceId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|-----------------------------------|----------|---------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `deviceId` | `string` | The Android ID of the device. |\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `managedConfigurationForDeviceId` | `string` | The ID of the managed configuration (a product ID), e.g. \"app:com.google.android.gm\". |\n| `userId` | `string` | The ID of the user. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply a [Managedconfigurationsfordevice resource](/android/work/play/emm-api/v1/managedconfigurationsfordevice#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Managedconfigurationsfordevice resource](/android/work/play/emm-api/v1/managedconfigurationsfordevice#resource) in the response body."]]