Box Java SDK v4.16.0 released
v4.16.0
Box TypeScript SDK Generated v1.15.1 released
v1.15.1
Box TypeScript SDK Generated v1.15.0 released
v1.15.0
An Access Token can be revoked at any time by either sending the Access Token or Refresh Token the POST /oauth2/revoke endpoint.
POST /oauth2/revoke
curl -i -X POST "https://api.box.com/oauth2/revoke" \ -H "content-type: application/x-www-form-urlencoded" \ -d "client_id=[CLIENT_ID]" \ -d "client_secret=[CLIENT_SECRET]" \ -d "token=[ACCESS_TOKEN]"
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.