<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I revoke Dropbox business access token? in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470600#M1584</link>
    <description>&lt;P&gt;I want to use "revoke token api" to revoke business account's access token.&lt;/P&gt;
&lt;P&gt;I referenced dropbox api document, and tried to use this api.&lt;/P&gt;
&lt;P&gt;&lt;A title="HTTP - Developers - Dropbox" href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_self"&gt;https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I received 400 error and following message. (I use Laravel and Guzzle for Http client)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot understand the error message&amp;nbsp; "This API function operates on a single Dropbox account, but the OAuth (truncated...)" .&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please&amp;nbsp;explain me what this message mean and how can I solve it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[2020-11-17 08:38:24] local.ERROR: Client error: `POST https://api.dropboxapi.com/2/auth/token/revoke` resulted in a `400 Bad Request` response:
Error in call to API function "auth/token/revoke": This API function operates on a single Dropbox account, but the OAuth (truncated...)
 {"exception":"[object] (GuzzleHttp\\Exception\\ClientException(code: 400): Client error: `POST https://api.dropboxapi.com/2/auth/token/revoke` resulted in a `400 Bad Request` response:
Error in call to API function \"auth/token/revoke\": This API function operates on a single Dropbox account, but the OAuth (truncated...)
 at /var/www/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113)&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Nov 2020 21:09:42 GMT</pubDate>
    <dc:creator>harutofujihara</dc:creator>
    <dc:date>2020-11-17T21:09:42Z</dc:date>
    <item>
      <title>How can I revoke Dropbox business access token?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470600#M1584</link>
      <description>&lt;P&gt;I want to use "revoke token api" to revoke business account's access token.&lt;/P&gt;
&lt;P&gt;I referenced dropbox api document, and tried to use this api.&lt;/P&gt;
&lt;P&gt;&lt;A title="HTTP - Developers - Dropbox" href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_self"&gt;https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I received 400 error and following message. (I use Laravel and Guzzle for Http client)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot understand the error message&amp;nbsp; "This API function operates on a single Dropbox account, but the OAuth (truncated...)" .&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please&amp;nbsp;explain me what this message mean and how can I solve it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[2020-11-17 08:38:24] local.ERROR: Client error: `POST https://api.dropboxapi.com/2/auth/token/revoke` resulted in a `400 Bad Request` response:
Error in call to API function "auth/token/revoke": This API function operates on a single Dropbox account, but the OAuth (truncated...)
 {"exception":"[object] (GuzzleHttp\\Exception\\ClientException(code: 400): Client error: `POST https://api.dropboxapi.com/2/auth/token/revoke` resulted in a `400 Bad Request` response:
Error in call to API function \"auth/token/revoke\": This API function operates on a single Dropbox account, but the OAuth (truncated...)
 at /var/www/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113)&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Nov 2020 21:09:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470600#M1584</guid>
      <dc:creator>harutofujihara</dc:creator>
      <dc:date>2020-11-17T21:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I revoke Dropbox business access token?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470745#M1587</link>
      <description>&lt;P&gt;It looks like your client is truncating the error message. I&amp;nbsp;recommend configuring it to show the whole message, if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference though, it would read:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;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 &amp;lt;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/teams&lt;/A&gt;&amp;gt;.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is, since the&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_self"&gt;/2/auth/token/revoke&lt;/A&gt; 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 &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_self"&gt;more information here under "Member file access"&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 16:28:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470745#M1587</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-17T16:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I revoke Dropbox business access token?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470942#M1590</link>
      <description>&lt;P&gt;Thank you! I should have&amp;nbsp;configured&amp;nbsp;&lt;SPAN&gt;it to show the whole message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe I can solve it with you helpful advice.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 05:28:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/470942#M1590</guid>
      <dc:creator>harutofujihara</dc:creator>
      <dc:date>2020-11-18T05:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I revoke Dropbox business access token?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/726011#M3727</link>
      <description>&lt;P&gt;What permissions should the app have to run this API? I tried running it by providing the respective header and it says that my app does not have enough permissions. Can you please help?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 07:06:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/726011#M3727</guid>
      <dc:creator>Pratik2</dc:creator>
      <dc:date>2023-11-01T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I revoke Dropbox business access token?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/726124#M3728</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1761967"&gt;@Pratik2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The endpoint&amp;nbsp;&lt;SPAN&gt;/token/revoke does not require any specific scopes. In order to better assist, could you provide us with the exact error message you are receiving from the API?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:57:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-can-I-revoke-Dropbox-business-access-token/m-p/726124#M3728</guid>
      <dc:creator>DB-Des</dc:creator>
      <dc:date>2023-11-01T14:57:49Z</dc:date>
    </item>
  </channel>
</rss>

