Authorization

Revoke access token

Revoke an active Access Token, effectively logging a user out that has been previously authenticated.

post/oauth2/revoke

Request

  • Base URL
    https://api.box.com
  • URL
    https://api.box.com/oauth2/revoke
  • Auth
    none required

Request body application/x-www-form-urlencoded

client_idstring

The Client ID of the application requesting to revoke the access token.

client_secretstring

The client secret of the application requesting to revoke an access token.

tokenstring token

The access token to revoke.

Example request

{
  "client_id": "ly1nj6n11vionaie65emwzk575hnnmrk",
  "client_secret": "hOzsTeFlT6ko0dme22uGbQal04SBPYc1",
  "token": "n22JPxrh18m4Y0wIZPIqYZK7VRrsMTWW"
}

Response

Returns an empty response when the token was successfully revoked.

Changes

No recorded changes to this operation across all 2 revisions of this API.