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>"<refresh token 2 ID>

To revoke all API refresh tokens owned by the caller:

curl -s -X DELETE -H "Authorization: Bearer <your access token>"

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