সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ব্যবহারকারীর জন্য একটি অ্যাপে একটি এনটাইটেলমেন্ট যোগ করে বা আপডেট করে।
অনুরোধ
HTTP অনুরোধ
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/entitlements/entitlementId
পরামিতি
পরামিতি নাম
মান
বর্ণনা
পাথ প্যারামিটার
enterpriseId
string
এন্টারপ্রাইজের আইডি।
entitlementId
string
এনটাইটেলমেন্টের আইডি (একটি পণ্যের আইডি), যেমন "app:com.google.android.gm"।
userId
string
ব্যবহারকারীর আইডি।
ঐচ্ছিক ক্যোয়ারী পরামিতি
install
boolean
যেখানে সম্ভব সেখানে সমস্ত ব্যবহারকারীর ডিভাইসে পণ্যটি ইনস্টল করতে সত্যে সেট করুন৷ এক বা একাধিক ডিভাইসে ইনস্টল করতে ব্যর্থ হলে এই ক্রিয়াকলাপটি সফলভাবে ফিরে আসতে বাধা দেবে না, যতক্ষণ না ব্যবহারকারীকে এনটাইটেলমেন্ট সফলভাবে বরাদ্দ করা হয়েছে।
অনুমোদন
এই অনুরোধের জন্য নিম্নলিখিত সুযোগের সাথে অনুমোদন প্রয়োজন:
[null,null,["2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis method allows adding or updating an app entitlement for a specific user within an enterprise.\u003c/p\u003e\n"],["\u003cp\u003eIt's deprecated and will be inaccessible after September 30, 2025; new integrations should refer to updated recommendations.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request can optionally install the entitled product on all user's devices.\u003c/p\u003e\n"]]],[],null,["# Entitlements: 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_2). \n| **This method will no longer be accessible by\n| anyone after September 30, 2025.**\nAdds or updates an entitlement to an app for a user.\n\n\u003cbr /\u003e\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/users/userId/entitlements/entitlementId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|-----------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| `entitlementId` | `string` | The ID of the entitlement (a product ID), e.g. \"app:com.google.android.gm\". |\n| `userId` | `string` | The ID of the user. |\n| **Optional query parameters** |||\n| `install` | `boolean` | Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to 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 an [Entitlements resource](/android/work/play/emm-api/v1/entitlements#resource).\n\nResponse\n--------\n\nIf successful, this method returns an [Entitlements resource](/android/work/play/emm-api/v1/entitlements#resource) in the response body."]]