Method: enterprises.migrationTokens.createStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
The purpose of this API is to create a migration token to facilitate the migration of a device from an existing EMM's Device Policy Controller (DPC) to the Android Management API.
The HTTP request uses a POST method to the specified URL, including the parent enterprise ID.
The request body requires an instance of MigrationToken.
The response body, if successful, will contain a newly created instance of MigrationToken.
The API requires thehttps://www.googleapis.com/auth/androidmanagementOAuth scope for authorization.
Creates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android Management API. Seethe guidefor more details.
HTTP request
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
Required. The enterprise in which this migration token is created. This must be the same enterprise which already manages the device in the Play EMM API. Format:enterprises/{enterprise}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-09 UTC."],[],["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"]]