Returns token details by token ID. You can also use me instead of a token ID to get details of the currently used token.
Note: Admin users can view any token. Non-admin users can only view tokens where the subject matches their username.
Security: Requires a valid token.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
The
last_usedparameterThe
last_usedparameter is supported for Artifactory versions 7.108.3 and above. To use it, you need to configure the following system properties:
access_token_last_used_enabled: True
access_token_last_used_threshold: 900Limitations
When using the
last_usedparameter, note that it has the following limitations:
The returned value might not be precise, and might not include changes from the last 2 hours, due to the verify flow cache or to the
last_used_thresholdparameter which controls the frequency of updates.
last_usedis not supported for: Environments using Circle of Trust without Federation configured
last_usedis not supported for: Short-lived tokens (with an expiry value of less than 6 hours)
last_usedis not supported for: Service, internal, or session tokens (only identity tokens are supported)
last_usedis not supported for: Propagation oflast_usedtimestamp to federated JPDs
401Bad Credentials - Invalid credentials
403Permission Denied - Insufficient permissions
404Not Found - Token not found
