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-07-26 UTC."],[[["\u003cp\u003eCreates a migration token to transition device management from EMM's Device Policy Controller (DPC) to the Android Management API.\u003c/p\u003e\n"],["\u003cp\u003eThe request must specify the enterprise that currently manages the device in the Play EMM API.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes a newly created MigrationToken object containing the necessary information for migration.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidmanagement\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["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"],null,[]]