किसी एंटरप्राइज़ के लिए, चालू और जिनकी समयसीमा खत्म नहीं हुई है ऐसे रजिस्ट्रेशन टोकन की सूची दिखाता है. सूची के आइटम में, EnrollmentToken ऑब्जेक्ट का सिर्फ़ कुछ हिस्सा दिखता है. सिर्फ़ इन फ़ील्ड में जानकारी अपने-आप भर जाती है: name, expirationTimestamp, allowPersonalUsage, value, qrCode. इस तरीके का मकसद, चालू रजिस्ट्रेशन टोकन के लाइफ़साइकल को मैनेज करना है. सुरक्षा के लिहाज़ से, हमारा सुझाव है कि delete रजिस्ट्रेशन के लिए इस्तेमाल किए गए टोक़न को तब ही हटाएं, जब उनका इस्तेमाल न करना हो.
एचटीटीपी अनुरोध
GET https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
ज़रूरी है. enterprises/{enterpriseId} फ़ॉर्मैट में, एंटरप्राइज़ का नाम.
क्वेरी पैरामीटर
पैरामीटर
pageSize
integer
पेज का अनुरोध किया गया साइज़. ऐसा हो सकता है कि सेवा इस वैल्यू से कम नतीजे दिखाए. अगर इसकी वैल्यू नहीं दी गई है, तो ज़्यादा से ज़्यादा 10 आइटम लौटाए जा सकेंगे. ज़्यादा से ज़्यादा वैल्यू 100 हो सकती है. 100 से ज़्यादा वैल्यू को 100 पर सेट कर दिया जाएगा.
pageToken
string
सर्वर से मिले नतीजों के पेज की पहचान करने वाला टोकन.
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
किसी एंटरप्राइज़ के लिए रजिस्ट्रेशन टोकन की सूची बनाने के अनुरोध का जवाब.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
[[["समझने में आसान है","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-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis operation lists active, unexpired enrollment tokens for a given enterprise, providing a partial view of the EnrollmentToken object with specific fields populated.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the enterprise ID as a path parameter and allows for pagination using query parameters \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of enrollment tokens and a token for retrieving the next page of results if available.\u003c/p\u003e\n"],["\u003cp\u003eFor security, it is recommended to delete active enrollment tokens when they are no longer needed.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/androidmanagement\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["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"],null,[]]