<?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 to retrieve shared_folder_id of a folder, which inherited access of it's parent? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716863#M31760</link>
    <description>&lt;P&gt;Hello ppl.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have an issue retrieving shared_folder_id of a sub folders created via /2/files/create_folder_batch endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My structure:&lt;/P&gt;
&lt;P&gt;RootFolder -&amp;gt;&amp;nbsp; FlowFolder -&amp;gt; ProjectFolder -&amp;gt; SubFolder1 ; SubFolder2 ; SubFolder3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An access to FlowFolder is given to two teams - Team1 &amp;amp; Team 2&lt;/P&gt;
&lt;P&gt;For each project I'm creating sub folder structure under FlowFolder via /2/files/create_folder_batch endpoint.&lt;/P&gt;
&lt;P&gt;All sub folders are inheriting the access given to FlowFolder - Team1 &amp;amp; Team2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want to achieve is to restrict the access of SubFolder3 only to Team1 (remove access of Team2) via /2/sharing/remove_folder_member endpoint.&lt;/P&gt;
&lt;P&gt;Unfortunately I can not retrieve SubFolder3's shared_folder_id, but only it's parent_shared_folder_id (which refers to FlowFolder).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried using the following endpoints as suggested by Greg-DB in other discussions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;/2/sharing/get_folder_metadata ;&lt;/LI&gt;
&lt;LI&gt;/2/files/get_metadata ;&lt;/LI&gt;
&lt;LI&gt;/2/files/search_v2 (searching for SuBFolder3)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;, but I can only receive parent_shared_folder_id (FlowFlolder).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition the&amp;nbsp;/2/files/create_folder_batch endpoint does not have option to select if the freshly created folder are inheriting parent's access or not. Also I'm unable to unshare SubFolder3 and then share it to the proper team (Team1), because&amp;nbsp;/2/sharing/unshare_folder also needs the "shared_folder_id" parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next thing I'm gonna try is using /2/sharing/set_access_inheritance -&amp;gt;&amp;nbsp;"no_inherit" for FlowFolder before&amp;nbsp;/2/files/create_folder_batch and then setting it back to "inherit", then setting proper teams access for each sub folder. But why so complicated? Hope you guys have better solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please help &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 12:53:24 GMT</pubDate>
    <dc:creator>HristoYordanov</dc:creator>
    <dc:date>2023-09-29T12:53:24Z</dc:date>
    <item>
      <title>How to retrieve shared_folder_id of a folder, which inherited access of it's parent?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716863#M31760</link>
      <description>&lt;P&gt;Hello ppl.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have an issue retrieving shared_folder_id of a sub folders created via /2/files/create_folder_batch endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My structure:&lt;/P&gt;
&lt;P&gt;RootFolder -&amp;gt;&amp;nbsp; FlowFolder -&amp;gt; ProjectFolder -&amp;gt; SubFolder1 ; SubFolder2 ; SubFolder3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An access to FlowFolder is given to two teams - Team1 &amp;amp; Team 2&lt;/P&gt;
&lt;P&gt;For each project I'm creating sub folder structure under FlowFolder via /2/files/create_folder_batch endpoint.&lt;/P&gt;
&lt;P&gt;All sub folders are inheriting the access given to FlowFolder - Team1 &amp;amp; Team2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want to achieve is to restrict the access of SubFolder3 only to Team1 (remove access of Team2) via /2/sharing/remove_folder_member endpoint.&lt;/P&gt;
&lt;P&gt;Unfortunately I can not retrieve SubFolder3's shared_folder_id, but only it's parent_shared_folder_id (which refers to FlowFolder).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried using the following endpoints as suggested by Greg-DB in other discussions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;/2/sharing/get_folder_metadata ;&lt;/LI&gt;
&lt;LI&gt;/2/files/get_metadata ;&lt;/LI&gt;
&lt;LI&gt;/2/files/search_v2 (searching for SuBFolder3)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;, but I can only receive parent_shared_folder_id (FlowFlolder).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition the&amp;nbsp;/2/files/create_folder_batch endpoint does not have option to select if the freshly created folder are inheriting parent's access or not. Also I'm unable to unshare SubFolder3 and then share it to the proper team (Team1), because&amp;nbsp;/2/sharing/unshare_folder also needs the "shared_folder_id" parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next thing I'm gonna try is using /2/sharing/set_access_inheritance -&amp;gt;&amp;nbsp;"no_inherit" for FlowFolder before&amp;nbsp;/2/files/create_folder_batch and then setting it back to "inherit", then setting proper teams access for each sub folder. But why so complicated? Hope you guys have better solution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please help &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 12:53:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716863#M31760</guid>
      <dc:creator>HristoYordanov</dc:creator>
      <dc:date>2023-09-29T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve shared_folder_id of a folder, which inherited access of it's parent?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716904#M31762</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1749650"&gt;@HristoYordanov&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;I have an issue retrieving shared_folder_id of a sub folders created via /2/files/create_folder_batch endpoint.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Unfortunately I can not retrieve SubFolder3's shared_folder_id, but only it's parent_shared_folder_id (which refers to FlowFolder).&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;, but I can only receive parent_shared_folder_id (FlowFlolder).&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Здраси Христо,&lt;/P&gt;&lt;P&gt;Имаш проблем с намирането на такъв идентификатор просто защото такъв няма. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; Прави разлика между споделена директория и обикновена директория! Само (пряко) споделената директория има такъв идентификатор. Всяка друга има само обикновен идентификатор на директория (включително и намиращите се обикновени директории вложени в споделена такава), без идентификато на споделена директория (просто защото не е споделена, поне не пряко). За удобство обикновените директории вложени в споделена имат идентификатори сочещи най-близката обхващаща споделена директория, но нищо повече!&lt;/P&gt;&lt;P&gt;Надявам се, че горното дава някакви насоки.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 12:37:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716904#M31762</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-09-27T12:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve shared_folder_id of a folder, which inherited access of it's parent?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716946#M31763</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1749650"&gt;@HristoYordanov&lt;/a&gt;&amp;nbsp;Здравко is correct. The new folders do not have a shared folder ID because they are not themselves shared folders. They instead just have a parent shared folder ID because they have a parent that is a shared folder. To manage the sharing of those folders in particular, they would need to be shared separately.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:27:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/716946#M31763</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-09-27T14:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve shared_folder_id of a folder, which inherited access of it's parent?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/717133#M31768</link>
      <description>&lt;P&gt;Thank you guys for your answers and time.&lt;/P&gt;&lt;P&gt;Seems that it will be the hard way &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a shame for Dropbox that simple action like that could be done under UI, but not using API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish you all good.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 07:18:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-retrieve-shared-folder-id-of-a-folder-which-inherited/m-p/717133#M31768</guid>
      <dc:creator>HristoYordanov</dc:creator>
      <dc:date>2023-09-28T07:18:27Z</dc:date>
    </item>
  </channel>
</rss>

