Method: enterprises.migrationTokens.create
יצירת אסימון העברה, כדי להעביר מכשיר קיים מהניהול של בקר מדיניות המכשירים (DPC) של ה-EMM לניהול על ידי Android Management API. פרטים נוספים זמינים במדריך.
בקשת HTTP
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. הארגון שבו נוצר טוקן ההעברה. זה חייב להיות אותו ארגון שכבר מנהל את המכשיר ב-Play EMM API. פורמט: enterprises/{enterprise}
|
גוף הבקשה
גוף הבקשה מכיל מופע של MigrationToken
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע חדש של MigrationToken
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidmanagement
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-30 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-30 (שעון UTC)."],[[["Creates a migration token to transition device management from EMM's Device Policy Controller (DPC) to the Android Management API."],["The request must specify the enterprise that currently manages the device in the Play EMM API."],["A successful response includes a newly created MigrationToken object containing the necessary information for migration."],["This functionality requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This describes creating a migration token for transitioning device management from an existing Device Policy Controller (DPC) to the Android Management API. A `POST` request is sent to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens`, specifying the managing enterprise in the `parent` path parameter. The request and response bodies are instances of `MigrationToken`. Successful execution requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. This token facilitates migration of devices.\n"]]