Recupera un token di registrazione attivo e non scaduto. Viene restituita una visualizzazione parziale del token di registrazione. Vengono compilati solo i seguenti campi: name, expirationTimestamp, allowPersonalUsage, value, qrCode. Questo metodo è pensato per aiutarti a gestire il ciclo di vita dei token di registrazione attivi. Per motivi di sicurezza, ti consigliamo di delete i token di registrazione attivi non appena non sono più previsti per l'utilizzo.
Richiesta HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/enrollmentTokens/*}
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]