Nhận mã thông báo đăng ký đang hoạt động và chưa hết hạn. Hệ thống sẽ trả về một phần của mã đăng ký. Chỉ điền các trường sau: name, expirationTimestamp, allowPersonalUsage, value, qrCode. Phương thức này giúp quản lý vòng đời của mã đăng ký đang hoạt động. Vì lý do bảo mật, bạn nên delete mã thông báo đăng ký đang hoạt động ngay khi không còn sử dụng nữa.
Yêu cầu HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/enrollmentTokens/*}
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 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"]]