רשימה של אסימוני רישום פעילים שעדיין בתוקף בארגון נתון. הפריטים ברשימה מכילים רק תצוגה חלקית של האובייקט EnrollmentToken. רק השדות הבאים מאוכלסים: name, expirationTimestamp, allowPersonalUsage, value, qrCode. השיטה הזו נועדה לעזור בניהול מחזור החיים של אסימוני ההרשמה הפעילים. מטעמי אבטחה, מומלץ delete אסימוני הרשמה פעילים ברגע שהם לא מיועדים לשימוש יותר.
בקשת HTTP
GET https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-02-19 (שעון UTC)."],[[["This operation lists active, unexpired enrollment tokens for a given enterprise, providing a partial view of the EnrollmentToken object with specific fields populated."],["The request requires the enterprise ID as a path parameter and allows for pagination using query parameters `pageSize` and `pageToken`."],["The response includes a list of enrollment tokens and a token for retrieving the next page of results if available."],["For security, it is recommended to delete active enrollment tokens when they are no longer needed."],["Authorization requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope."]]],["This document outlines the process of listing active enrollment tokens for an enterprise using a `GET` request. The request targets `enterprises/{enterpriseId}/enrollmentTokens` and requires a `parent` path parameter specifying the enterprise ID. Optional query parameters, `pageSize` and `pageToken`, manage result pagination. The request body must be empty. A successful response includes a list of `enrollmentTokens`, containing fields like name, expiration, usage allowance, value and qr code, and an optional `nextPageToken` for subsequent pages. This action requires the `androidmanagement` OAuth scope.\n"]]