Welcome to the new Box Support website. Check out all the details here on what’s changed.

revokeToken method throws error in JavaSDK when trying to revoke downscoped token

Answered
New post

Comments

3 comments

  • mwiller

     This is actually an API limitation; it is not currently possible to revoke downscoped tokens.  This is something that the Box Platform team is actively working on, though, and we expect it will be available within the next couple of months!

    0
    Comment actions Permalink
  • visheg

     Thanks for that. Would be looking forward for this feature.

    Meanwhile we will create temporary folder for each upload and scope the tokens to upload only to that folder and delete it once it is done. Hope this would achieve our goal to avoid reusing of scoped token before they expire.

     

    0
    Comment actions Permalink
  • braden

    Hi  

     

    Just wanted to pop in and tell you that we launched the revoke endpoint yesterday! You should now be able to revoke downscoped tokens from Java SDK: New Security Enhancements for Revoking Access Tokens

     

    Cheers,

    Braden

    0
    Comment actions Permalink

Please sign in to leave a comment.