Ruft ein aktives, nicht abgelaufenes Registrierungstoken ab. Es wird eine Teilansicht des Registrierungstokens zurückgegeben. Nur die folgenden Felder werden ausgefüllt: name, expirationTimestamp, allowPersonalUsage, value und qrCode. Diese Methode soll dabei helfen, den Lebenszyklus aktiver Registrierungstokens zu verwalten. Aus Sicherheitsgründen empfehlen wir, delete aktive Registrierungstokens zu widerrufen, sobald sie nicht mehr verwendet werden sollen.
HTTP-Anfrage
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/enrollmentTokens/*}
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-01-30 (UTC)."],[[["Retrieves an active enrollment token with specific fields populated for management purposes."],["Uses a `GET` request with the enrollment token's name specified in the URL path."],["Requires an empty request body and returns an `EnrollmentToken` object on success."],["Needs the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization."],["Recommends deleting active enrollment tokens when they are no longer needed for security."]]],["This describes retrieving an active, unexpired enrollment token via a `GET` HTTP request to a specified URL. The request requires a `name` parameter in the URL, formatted as `enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}`, and an empty request body. The successful response provides a partial view of the `EnrollmentToken`, including fields like `name`, `expirationTimestamp`, and `value`. It needs OAuth scope `https://www.googleapis.com/auth/androidmanagement` and suggests deleting tokens after use.\n"]]