Method: enterprises.migrationTokens.create
Mevcut bir cihazı EMM'nin Cihaz Politikası Denetleyicisi (DPC) tarafından yönetilmekten Android Management API tarafından yönetilmeye geçirmek için bir taşıma jetonu oluşturur. Daha ayrıntılı bilgi için kılavuza bakın.
HTTP isteği
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Bu taşıma jetonunun oluşturulduğu kuruluş. Bu, Play EMM API'de cihazı zaten yöneten kuruluşla aynı olmalıdır. Biçim: enterprises/{enterprise}
|
İstek içeriği
İstek metni, MigrationToken
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir MigrationToken
örneği içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidmanagement
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-29 UTC.
[null,null,["Son güncelleme tarihi: 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"]]