Tworzy token migracji, aby przenieść istniejące urządzenie z kontrolera zasad dotyczących urządzeń (DPC) usługi EMM do zarządzania przez interfejs Android Management API. Więcej informacji znajdziesz w przewodniku.
Żądanie HTTP
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
Wymagane. Firma, w której utworzono ten token migracji. Musi to być ta sama firma, która zarządza już urządzeniem za pomocą interfejsu EMM API w Google Play. Format: enterprises/{enterprise}
Treść żądania
Treść żądania zawiera wystąpienie elementu MigrationToken.
Treść odpowiedzi
Jeśli operacja się powiedzie, treść odpowiedzi będzie zawierała nowo utworzoną instancję MigrationToken.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]