Method: enterprises.migrationTokens.create
यह माइग्रेशन टोकन बनाता है, ताकि किसी मौजूदा डिवाइस को EMM के डिवाइस नीति कंट्रोलर (डीपीसी) से Android Management API पर माइग्रेट किया जा सके. ज़्यादा जानकारी के लिए, गाइड देखें.
एचटीटीपी अनुरोध
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
यूआरएल में 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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-29 (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"]]