A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
client.revokeTokens("<TOKEN>")
.then(() => {
// the client's access token have been revoked
});
Usage in SDKs
All 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.