<?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 Delete file permanently in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Delete-file-permanently/m-p/430438#M1305</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to delete files permanently which are present in team folder using java sdk. When we try to hit api with as member we are getting exception of no_write_permission but file is also getting deleted on dropbox. Can you guys please help us, why this is happening? Code for deletion is as follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try {&lt;/P&gt;
&lt;P&gt;DbxRequestConfig&amp;nbsp;config = DbxRequestConfig.newBuilder("clientIdentifier").withAutoRetryEnabled(3).build();&lt;BR /&gt;DbxCredential credential = new DbxCredential("accessToken");&lt;BR /&gt;DbxTeamClientV2 clientV2 = new DbxTeamClientV2(config, credential);&lt;BR /&gt;clientV2.asMember("userId").withPathRoot(pathRoot).files().permanentlyDelete("fileId");&lt;BR /&gt;log.info("deleted file permanently with fileId {}", "fileId");&lt;BR /&gt;} catch (Exception e) {&lt;BR /&gt;throw e;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be much appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Bharath&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2020 12:52:37 GMT</pubDate>
    <dc:creator>bharath_n_v</dc:creator>
    <dc:date>2020-06-17T12:52:37Z</dc:date>
    <item>
      <title>Delete file permanently</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Delete-file-permanently/m-p/430438#M1305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying to delete files permanently which are present in team folder using java sdk. When we try to hit api with as member we are getting exception of no_write_permission but file is also getting deleted on dropbox. Can you guys please help us, why this is happening? Code for deletion is as follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try {&lt;/P&gt;
&lt;P&gt;DbxRequestConfig&amp;nbsp;config = DbxRequestConfig.newBuilder("clientIdentifier").withAutoRetryEnabled(3).build();&lt;BR /&gt;DbxCredential credential = new DbxCredential("accessToken");&lt;BR /&gt;DbxTeamClientV2 clientV2 = new DbxTeamClientV2(config, credential);&lt;BR /&gt;clientV2.asMember("userId").withPathRoot(pathRoot).files().permanentlyDelete("fileId");&lt;BR /&gt;log.info("deleted file permanently with fileId {}", "fileId");&lt;BR /&gt;} catch (Exception e) {&lt;BR /&gt;throw e;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be much appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Bharath&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 12:52:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Delete-file-permanently/m-p/430438#M1305</guid>
      <dc:creator>bharath_n_v</dc:creator>
      <dc:date>2020-06-17T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delete file permanently</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Delete-file-permanently/m-p/430499#M1306</link>
      <description>&lt;P&gt;I can't seem to reproduce this unexpected behavior, so we'll need to look into this more specifically for you. Please open &lt;A href="https://www.dropbox.com/developers/contact" target="_self"&gt;an API ticket&lt;/A&gt; for this and include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the client ID&lt;/LI&gt;
&lt;LI&gt;the member ID&lt;/LI&gt;
&lt;LI&gt;the file ID&lt;/LI&gt;
&lt;LI&gt;the timestamp of the call&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please don't include your access token though. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 15:21:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Delete-file-permanently/m-p/430499#M1306</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-06-17T15:21:38Z</dc:date>
    </item>
  </channel>
</rss>

