Note
This API is being deprecated and replaced by the Access Tokens API.
Description: Get a list of all tokens created by an Artifactory instance
Since: 5.0.0
Security: Requires an admin user
Usage: GET /api/security/token
Content-Type: application/x-www-form-urlencoded
Produces: application/json
{ "tokens":[ { "token_id":"<the token id>", "issuer":"<the service ID of the issuing Artifactory instance>", "subject":"<subject>", "expiry": <time when token expires as seconds since 00:00:00 1/1/1970>, "refreshable":<true | false>, "issued_at":<time issued as seconds since 00:00:00 1/1/1970>, }, ... ] }
Sample Usage:
curl -uadmin:password -XGET "http://localhost:8081/artifactory/api/security/token 200 OK { "tokens":[ { "token_id":"123", "issuer":"jf-artifactory@123123", "subject":"jf-artifactory@123123/users/theusername", "expiry":145154545, "refreshable":true, "issued_at":144152345 }, ... ] }