Method: enterprises.create
בקשת HTTP
POST https://androidmanagement.googleapis.com/v1/enterprises
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של שאילתה
פרמטרים |
projectId |
string
המזהה של הפרויקט ב-Google Cloud Platform שיהיו לו הרשאות הבעלות על הארגון.
|
signupUrlName |
string
השם של SignupUrl ששימש להרשמה לארגון. צריך להגדיר את האפשרות הזו כשיוצרים ארגון בניהול הלקוח, ולא כשיוצרים ארגון בניהול EMM שהוצא משימוש.
|
enterpriseToken |
string
הטוקן הארגוני שמצורף לכתובת ה-URL לקריאה חוזרת. צריך להגדיר את האפשרות הזו כשיוצרים ארגון בניהול הלקוח, ולא כשיוצרים ארגון בניהול EMM שהוצא משימוש.
|
agreementAccepted (deprecated) |
boolean
האם האדמין הארגוני קרא את הסכם Google Play לארגונים והסכים לתנאיו. אין להגדיר את השדה הזה לאף ארגון בניהול הלקוח. צריך להגדיר את השדה הזה כ-true לכל הארגונים בניהול EMM.
|
גוף הבקשה
גוף הבקשה מכיל מופע של Enterprise
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע חדש של Enterprise
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidmanagement
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-19 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-19 (שעון UTC)."],[[["Creates an enterprise as the final step in the enterprise signup flow."],["Sends a POST request to `https://androidmanagement.googleapis.com/v1/enterprises` to initiate enterprise creation."],["Requires providing details like project ID, signup URL name (for customer-managed enterprises), and enterprise token."],["The request body should contain an instance of `Enterprise`, and a successful response returns a newly created `Enterprise` instance."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["To create an enterprise, send a `POST` request to `https://androidmanagement.googleapis.com/v1/enterprises`. Include query parameters like `projectId`, `signupUrlName`, and `enterpriseToken` depending on the enterprise type. The request body should contain an `Enterprise` instance. A successful response will return the created `Enterprise` instance. Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. Note the parameter `agreementAccepted` is deprecated.\n"]]