संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
साइन अप करने के लिए यूआरएल जनरेट करता है.
अनुरोध
एचटीटीपी अनुरोध
POST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl
पैरामीटर
पैरामीटर का नाम
मान
ब्यौरा
ज़रूरी नहीं क्वेरी पैरामीटर
adminEmail
string
ज़रूरी नहीं. एंटरप्राइज़ साइन अप फ़ॉर्म के एडमिन फ़ील्ड को पहले से भरने के लिए इस्तेमाल किया गया ईमेल पता. यह वैल्यू सिर्फ़ एक हिंट है और उपयोगकर्ता इसे बदल सकता है.
अगर `allowedDomains` में कोई वैल्यू मौजूद है, तो यह `allowedDomains` में से किसी एक से जुड़ी होनी चाहिए.
allowedDomains
string
ज़रूरी नहीं. उन डोमेन की सूची जिन्हें एडमिन ईमेल के लिए अनुमति दी गई है. आईटी एडमिन, ऐसा डोमेन नेम वाला ईमेल पता नहीं डाल सकता जो इस सूची में शामिल नहीं है. इस सूची में शामिल डोमेन के सबडोमेन इस्तेमाल करने की अनुमति नहीं है. हालांकि, दूसरी एंट्री जोड़कर, इन डोमेन के सबडोमेन इस्तेमाल किए जा सकते हैं. इसके लिए, डोमेन नेम के पहले `*.` लगाएं. उदाहरण के लिए, *.example.com. अगर यह फ़ील्ड मौजूद नहीं है या यह खाली है, तो आईटी एडमिन किसी भी मान्य डोमेन नेम का इस्तेमाल कर सकता है. निजी ईमेल डोमेन का इस्तेमाल हमेशा किया जा सकता है. हालांकि, ऐसा करने पर 'कारोबार के लिए Google Play खाता एंटरप्राइज़' बन जाएगा.
callbackUrl
string
वह कॉलबैक यूआरएल जिस पर एडमिन को एंटरप्राइज़ बनाने के बाद रीडायरेक्ट किया जाएगा. वहां रीडायरेक्ट करने से पहले, सिस्टम इस यूआरएल में "enterpriseToken" नाम का एक क्वेरी पैरामीटर जोड़ देगा. इसमें एक ऐसा टोकन होगा जिसका इस्तेमाल, CompleteSignup अनुरोध के लिए किया जाएगा.
ध्यान दें कि इसका मतलब है कि यूआरएल को पार्स किया जाएगा, पैरामीटर जोड़ा जाएगा, और फिर नया यूआरएल फ़ॉर्मैट किया जाएगा.इसका मतलब है कि फ़ॉर्मैट में कुछ छोटे बदलाव हो सकते हैं. सबसे ज़रूरी बात यह है कि यूआरएल सही तरीके से बना हो, ताकि उसे पार्स किया जा सके.
अनुमति देना
इस अनुरोध के लिए, यहां दिए गए स्कोप के साथ अनुमति की ज़रूरत है:
[null,null,["आखिरी बार 2025-03-27 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eGenerates a sign-up URL for Android enterprise enrollment using the \u003ccode\u003esignupUrl\u003c/code\u003e endpoint with an optional admin email and callback URL.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful signup, a response provides a sign-up URL for the admin and a completion token for finalizing the process with the \u003ccode\u003eCompleteSignup\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is necessary to use this endpoint.\u003c/p\u003e\n"]]],[],null,["# Enterprises: generateSignupUrl\n\n| **Note:** Requires [authorization](#auth).\n\nGenerates a sign-up URL.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Optional query parameters** |||\n| `adminEmail` | `string` | Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. 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 always allowed, but will result in the creation of a managed Google Play Accounts enterprise. |\n| `callbackUrl` | `string` | The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named \"enterpriseToken\" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed. |\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 \"kind\": string,\n \"url\": string,\n \"completionToken\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `url` | `string` | A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe. | |\n| `completionToken` | `string` | An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup. | |\n| `kind` | `string` | Deprecated. | |"]]