Obtaining List of All Your Refresh Tokens

Revenera provides an API that allows a user to view all their API refresh tokens.

To obtain a list of all refresh tokens owned by this caller:

1. Obtain a valid access token, which is required to call the API. If you do not already have one, refer to Generating an Access Token from a Refresh Token for instructions on obtaining one.
2. Enter the following command to request a list all your API refresh tokens, replacing <your access token> with the token obtained in step 1:

curl -s -H "Authorization: Bearer <your access token>" https://api.flexera.com/iam/v1/refresh-tokens | jq

The response looks similar to the following, listing each refresh token owned by the caller:

[

 

{

"createdAt": "2022-02-27T19:21:35Z",

"expiresAt": "2023-09-29T23:45:36Z",

"id": "<refresh token 1 ID>"

},

{

"createdAt": "2022-03-16T23:17:46Z",

"expiresAt": "2023-03-16T23:17:46Z",

"id": "<refresh token 2 ID>"

}

]

The following table explains the response fields shown for each refresh token:

Field

Description

id

The unique identifier for the refresh token.

createdAt

The date the refresh token was created.

expiresAt

The time when the refresh token will expire, which will always be one year after it was last used.