await auth.revokeTokens();// client's tokens have been revoked
client.auth.revoke_token()
await auth.RevokeTokenAsync();
try await auth.revokeToken()
auth.revokeToken();// client's tokens have been revoked
oauth.revoke()
client.revokeTokens("<TOKEN>") .then(() => { // the client's access token have been revoked });
Usage in SDKsAll of the Box SDKs support manually revoking the current Access Token
associated with the client. To revoke a specific token, first initialize a new
SDK with that token and then call the relevant revoke method.