Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
<ph type="x-smartling-placeholder">
Récupère les détails d'une configuration gérée par appareil.
Requête
Requête HTTP
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/devices/deviceId/managedConfigurationsForDevice/managedConfigurationForDeviceId
Paramètres
Nom du paramètre
Valeur
Description
Paramètres de chemin d'accès
deviceId
string
ID Android de l'appareil.
enterpriseId
string
ID de l'entreprise.
managedConfigurationForDeviceId
string
ID de la configuration gérée (ID produit), par exemple
"app:com.google.android.gm".
userId
string
ID de l'utilisateur.
Autorisation
Cette requête nécessite une autorisation ayant le champ d'application suivant:
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/09/12 (UTC).
[null,null,["Dernière mise à jour le 2024/09/12 (UTC)."],[[["\u003cp\u003eThis method retrieves details of a per-device managed configuration 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.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eIt uses a GET request to a specific URL with path parameters for device ID, enterprise ID, managed configuration ID, and user ID.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a Managedconfigurationsfordevice resource.\u003c/p\u003e\n"]]],[],null,["# Managedconfigurationsfordevice: get\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.**\nRetrieves details of a per-device managed configuration.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET 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\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Managedconfigurationsfordevice resource](/android/work/play/emm-api/v1/managedconfigurationsfordevice#resource) in the response body."]]