We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
harutofujihara
6 years agoHelpful | Level 6
How can I revoke Dropbox business access token?
I want to use "revoke token api" to revoke business account's access token.
I referenced dropbox api document, and tried to use this api.
https://www.dropbox.com/developers/documentation/http/doc...
Greg-DB
Dropbox Community Moderator
6 years agoIt looks like your client is truncating the error message. I recommend configuring it to show the whole message, if possible.
For reference though, it would read:
Error in call to API function "auth/token/revoke": This API function operates on a single Dropbox account, but the OAuth 2 access token you provided is for an entire Dropbox Business team. Since your API app key has team member file access permissions, you can operate on a team member's Dropbox by providing the "Dropbox-API-Select-User" HTTP header or "select_user" URL parameter to specify the exact user <https://www.dropbox.com/developers/documentation/http/teams>.
That is, since the /2/auth/token/revoke endpoint happens to be a "user-linked" endpoint, you need to specify a particular user account when calling it, by including a "Dropbox-API-Select-User" header with the member ID of a team member. You can find more information here under "Member file access".
harutofujihara
6 years agoHelpful | Level 6
Thank you! I should have configured it to show the whole message.
Maybe I can solve it with you helpful advice.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!