با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تنظیمات پیکربندی مدیریت شده را برای یک برنامه برای کاربر مشخص شده اضافه یا به روز می کند. اگر از پیکربندیهای مدیریتشده iframe پشتیبانی میکنید، میتوانید با تعیین mcmId و متغیرهای پیکربندی مرتبط با آن (در صورت وجود) در درخواست، پیکربندیهای مدیریتشده را برای کاربر اعمال کنید. از طرف دیگر، همه EMM ها می توانند پیکربندی های مدیریت شده را با ارسال لیستی از ویژگی های مدیریت شده اعمال کنند.
درخواست کنید
درخواست HTTP
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/managedConfigurationsForUser/managedConfigurationForUserId
پارامترها
نام پارامتر
ارزش
توضیحات
پارامترهای مسیر
enterpriseId
string
شناسه شرکت
managedConfigurationForUserId
string
شناسه پیکربندی مدیریت شده (شناسه محصول)، به عنوان مثال "app:com.google.android.gm".
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThis method adds or updates managed configuration settings for a specific app and user in Android Enterprise.\u003c/p\u003e\n"],["\u003cp\u003eIt is deprecated and will be inaccessible after September 30, 2025; new integrations should refer to updated recommendations.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request involves specifying enterprise ID, user ID, and managed configuration ID, along with configuration variables or properties.\u003c/p\u003e\n"]]],[],null,["# Managedconfigurationsforuser: 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 the managed configuration settings for an app for the specified user. If you support the [Managed configurations iframe](https://developers.google.com/android/work/play/emm-api/managed-configurations-iframe), you can apply managed configurations to a user by specifying an `mcmId` and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/managedConfigurationsForUser/managedConfigurationForUserId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|---------------------------------|----------|---------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `managedConfigurationForUserId` | `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 [Managedconfigurationsforuser resource](/android/work/play/emm-api/v1/managedconfigurationsforuser#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Managedconfigurationsforuser resource](/android/work/play/emm-api/v1/managedconfigurationsforuser#resource) in the response body."]]