Method: enterprises.migrationTokens.get
Ruft ein Migrationstoken ab.
HTTP-Anfrage
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/migrationTokens/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Der Name des abzurufenden Migrationstokens. Format: enterprises/{enterprise}/migrationTokens/{migrationToken}
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von MigrationToken
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/androidmanagement
Weitere Informationen finden Sie unter OAuth 2.0 Overview.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-29 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-01-29 (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"]]