AI-generated Key Takeaways
-
The endpoint for getting a migration token is
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}. -
The request requires a
namepath parameter formatted asenterprises/{enterprise}/migrationTokens/{migrationToken}. -
The request body must be empty.
-
A successful response returns an instance of
MigrationToken. -
The request requires the
https://www.googleapis.com/auth/androidmanagementOAuth scope.
Gets a migration token.
HTTP request
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the migration token to retrieve. Format: |
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.