Get Tokens

Returns token information based on the authenticated principal and optional filters. Admin users can view all tokens; non-admin users can only view their own tokens.

Reference tokens are supported from Artifactory version 7.133.8.

Security: Requires a valid token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

📘

The last_used parameter

The last_used parameter 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: 900

Limitations

When using the last_used parameter, 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_threshold parameter which controls the frequency of updates.

  • last_used is not supported for: Environments using Circle of Trust without Federation configured

  • last_used is not supported for: Short-lived tokens (with an expiry value of less than 6 hours)

  • last_used is not supported for: Service, internal, or session tokens (only identity tokens are supported)

  • last_used is not supported for: Propagation of last_used timestamp to federated JPDs

Responses

401

Bad Credentials - Invalid credentials

403

Permission Denied - Insufficient permissions

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Choose an example:
application/json