Method: enterprises.migrationTokens.get
HTTP request
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the migration token to retrieve. Format: enterprises/{enterprise}/migrationTokens/{migrationToken}
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of MigrationToken
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidmanagement
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-09 UTC.
[null,null,["Last updated 2025-01-09 UTC."],[[["Retrieves a migration token for a specific enterprise using a GET request."],["Requires the `name` path parameter specifying the enterprise and migration token."],["An empty request body is necessary, and a successful response returns a MigrationToken object."],["Utilizes the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."]]],["The core action is retrieving a migration token via a `GET` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` parameter in the path, formatted as `enterprises/{enterprise}/migrationTokens/{migrationToken}`. The request body must be empty. A successful response returns a `MigrationToken` object. This action requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. A user can also test this action on the webpage with the \"Try it!\" button.\n"]]