संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह मौजूदा मैनेज किए जा रहे, कारोबार के लिए Google Play खाते वाले एंटरप्राइज़ को, मैनेज किए जा रहे Google डोमेन में अपग्रेड करने के लिए, एंटरप्राइज़ अपग्रेड यूआरएल जनरेट करता है.
ज़्यादा जानकारी के लिए,
एक एंटरप्राइज़ खाते को अपग्रेड करने के लिए गाइड देखें.
अनुरोध
एचटीटीपी अनुरोध
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/generateEnterpriseUpgradeUrl
पैरामीटर
पैरामीटर का नाम
मान
ब्यौरा
पाथ पैरामीटर
enterpriseId
string
एंटरप्राइज़ का आईडी.
ज़रूरी नहीं क्वेरी पैरामीटर
adminEmail
string
ज़रूरी नहीं. अपग्रेड की प्रोसेस के तहत, एंटरप्राइज़ साइनअप फ़ॉर्म के एडमिन फ़ील्ड को पहले से भरने के लिए इस्तेमाल किया जाने वाला ईमेल पता. यह वैल्यू सिर्फ़ एक हिंट है और उपयोगकर्ता इसे बदल सकता है. निजी ईमेल पतों का इस्तेमाल करने की अनुमति नहीं है.
अगर `allowedDomains` में कोई वैल्यू मौजूद है, तो यह किसी एक 'allowedDomains' से जुड़ी होनी चाहिए.
allowedDomains
string
ज़रूरी नहीं. उन डोमेन की सूची जिन्हें एडमिन ईमेल के लिए अनुमति दी गई है. आईटी एडमिन, ऐसा डोमेन नेम वाला ईमेल पता नहीं डाल सकता जो इस सूची में शामिल नहीं है.
इस सूची में शामिल डोमेन के सबडोमेन इस्तेमाल करने की अनुमति नहीं है. हालांकि, दूसरी एंट्री जोड़कर, इन डोमेन के सबडोमेन इस्तेमाल किए जा सकते हैं. इसके लिए, डोमेन नेम के पहले `*.` लगाएं. उदाहरण के लिए, *.example.com. अगर यह फ़ील्ड मौजूद नहीं है या यह खाली सूची है, तो आईटी एडमिन किसी भी मान्य डोमेन नेम का इस्तेमाल कर सकता है. निजी ईमेल डोमेन का इस्तेमाल करने की अनुमति नहीं है.
अनुमति देना
इस अनुरोध के लिए, नीचे दिए गए स्कोप के साथ अनुमति की ज़रूरत है:
[null,null,["आखिरी बार 2025-06-10 (UTC) को अपडेट किया गया."],[],[],null,["# Enterprises: generateEnterpriseUpgradeUrl\n\n| **Note:** Requires [authorization](#auth).\n\nGenerates an enterprise upgrade URL to upgrade an existing managed Google\nPlay Accounts enterprise to a managed Google domain.\nSee [the guide to upgrading an enterprise](/android/work/play/emm-api/upgrade-an-enterprise) for more details.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/generateEnterpriseUpgradeUrl\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n| **Optional query parameters** |||\n| `adminEmail` | `string` | Optional. Email address used to prefill the admin field of the enterprise signup form as part of the upgrade process. This value is a hint only and can be altered by the user. Personal email addresses are not allowed. If \\`allowedDomains\\` is non-empty then this must belong to one of the \\`allowedDomains\\`. |\n| `allowedDomains` | `string` | Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has \\`\\*.\\` prefixed to the domain name (e.g. \\*.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are not allowed. |\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 response body with the following structure:\n\n```text\n{\n \"url\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|----------|-----------------------------------------------------------------------------------------------------|-------|\n| `url` | `string` | A URL for an enterprise admin to upgrade their enterprise. The page can't be rendered in an iframe. | |"]]