Method: enterprises.migrationTokens.create
Membuat token migrasi, untuk memigrasikan perangkat yang ada dari dikelola oleh Pengontrol Kebijakan Perangkat (DPC) EMM menjadi dikelola oleh Android Management API. Lihat panduan untuk mengetahui detail selengkapnya.
Permintaan HTTP
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Perusahaan tempat token migrasi ini dibuat. Perusahaan ini harus sama dengan perusahaan yang sudah mengelola perangkat di Play EMM API. Format: enterprises/{enterprise}
|
Isi permintaan
Isi permintaan memuat instance MigrationToken
.
Isi respons
Jika berhasil, isi respons memuat instance MigrationToken
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/androidmanagement
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-29 UTC.
[null,null,["Terakhir diperbarui pada 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"]]