AI-generated Key Takeaways
- 
          This document lists migration tokens for a given enterprise. 
- 
          The HTTP request uses a GET method with a specific URL format including the enterprise parent parameter. 
- 
          The request body should be empty, and the response body contains a list of migration tokens and a next page token. 
- 
          The request can be paginated using pageSizeandpageTokenquery parameters.
- 
          Authorization requires the https://www.googleapis.com/auth/androidmanagementOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists migration tokens.
HTTP request
GET https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/migrationTokens
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| parent | 
 Required. The enterprise which the migration tokens belong to. Format:  | 
Query parameters
| Parameters | |
|---|---|
| pageSize | 
 The maximum number of migration tokens to return. Fewer migration tokens may be returned. If unspecified, at most 100 migration tokens will be returned. The maximum value is 100; values above 100 will be coerced to 100. | 
| pageToken | 
 A page token, received from a previous  When paginating, all other parameters provided to  | 
Request body
The request body must be empty.
Response body
Response to a request to list migration tokens for a given enterprise.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "migrationTokens": [
    {
      object ( | 
| Fields | |
|---|---|
| migrationTokens[] | 
 The migration tokens from the specified enterprise. | 
| nextPageToken | 
 A token, which can be sent as  | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/androidmanagement
For more information, see the OAuth 2.0 Overview.
