Revoking an API Refresh Token

Tip:To do the steps shown in this section, you must know the ID of the refresh token you are going to revoke. For help refer to Obtaining List of all Refresh Tokens Owned by Caller.

To revoke a token, you can use the following command:

curl -s -X DELETE -H "Authorization: Bearer <your access token>" https://api.flexera.com/iam/v1/refresh-tokens/<refresh token 2 ID>

To revoke all API refresh tokens owned by the caller:

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

Note:Revoked refresh tokens will no longer appear in the refresh token API.