חשוב: אנחנו לא מקבלים יותר רישומים חדשים עבור Play EMM API.
מידע נוסף
Enterprises: generateEnterpriseUpgradeUrl
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
יצירת כתובת URL לשדרוג הארגון כדי לשדרג קבוצת חשבונות קיימת של Google Play לארגונים לדומיין מנוהל ב-Google.
פרטים נוספים זמינים
במדריך לשדרוג ארגון.
בקשה
בקשת HTTP
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/generateEnterpriseUpgradeUrl
פרמטרים
שם הפרמטר |
ערך |
תיאור |
פרמטרים של נתיב |
enterpriseId |
string |
המזהה של הארגון.
|
פרמטרים אופציונליים של שאילתות |
adminEmail |
string |
אופציונלי. כתובת האימייל שמשמשת למילוי מראש של שדה האדמין בטופס ההרשמה לארגון, כחלק מתהליך השדרוג. הערך הזה הוא רק רמז, והמשתמש יכול לשנות אותו. אסור להשתמש בכתובות אימייל אישיות.
אם הערך של allowedDomains לא ריק, הוא חייב להיות שייך לאחד מהערכים של allowedDomains.
|
allowedDomains |
string |
אופציונלי. רשימת הדומיינים שמותר להזין בכתובת האימייל של האדמין. האדמין של מחלקת ה-IT לא יכול להזין כתובת אימייל עם שם דומיין שלא מופיע ברשימה הזו.
אסור להשתמש בתת-דומיינים של דומיינים שמופיעים ברשימה הזו, אבל אפשר להוסיף רשומה שנייה עם הסימן * בתחילת שם הדומיין (למשל *.example.com) כדי לאפשר את השימוש בהם. אם השדה לא מופיע או שהרשימה ריקה, האדמין ב-IT יכול להשתמש בכל שם דומיין תקין. אסור להשתמש בדומיינים של כתובות אימייל אישיות.
|
אישור
הבקשה הזו דורשת הרשאה ברמת ההיקף הבאה:
היקף |
https://www.googleapis.com/auth/androidenterprise |
מידע נוסף זמין בדף אימות והרשאה.
גוף הבקשה
אין לספק גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, ה-method מחזיר גוף תגובה עם המבנה הבא:
{
"url": string
}
שם הנכס |
ערך |
תיאור |
הערות |
url |
string |
כתובת URL לאדמין ארגוני לשדרוג הארגון. לא ניתן להציג את הדף ב-iframe. |
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-06-10 (שעון UTC).
[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. | |"]]