<?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 Changing Folder Owner Via API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Changing-Folder-Owner-Via-API/m-p/345487#M19930</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been trying to use the API explorer to work out 1) who the owner of a folder is, and 2) then change the owner of the folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The main issue I'm coming across is that using 'list_folder' to get the id and sharing id (if shared) is that when using either as the id on 'list_file_members' it always returns an error. Even If I have authenticated as the folder owner or the person it has been shared with.&lt;/P&gt;&lt;PRE&gt;{
  "error_summary": "access_error/is_folder/...",
  "error": {
    ".tag": "access_error",
    "access_error": {
      ".tag": "is_folder"
    }
  },
  "user_message": {
    "locale": "en_GB",
    "text": "Invalid shared file ID."
  }
}&lt;/PRE&gt;&lt;P&gt;The business case is if someone leaves - we want to transfer ownership of their folders to an admin and the make them 'read-only' for anyone they are shared with.&lt;/P&gt;&lt;P&gt;Any help much appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:06:20 GMT</pubDate>
    <dc:creator>craggleb</dc:creator>
    <dc:date>2019-05-29T09:06:20Z</dc:date>
    <item>
      <title>Changing Folder Owner Via API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Changing-Folder-Owner-Via-API/m-p/345487#M19930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been trying to use the API explorer to work out 1) who the owner of a folder is, and 2) then change the owner of the folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The main issue I'm coming across is that using 'list_folder' to get the id and sharing id (if shared) is that when using either as the id on 'list_file_members' it always returns an error. Even If I have authenticated as the folder owner or the person it has been shared with.&lt;/P&gt;&lt;PRE&gt;{
  "error_summary": "access_error/is_folder/...",
  "error": {
    ".tag": "access_error",
    "access_error": {
      ".tag": "is_folder"
    }
  },
  "user_message": {
    "locale": "en_GB",
    "text": "Invalid shared file ID."
  }
}&lt;/PRE&gt;&lt;P&gt;The business case is if someone leaves - we want to transfer ownership of their folders to an admin and the make them 'read-only' for anyone they are shared with.&lt;/P&gt;&lt;P&gt;Any help much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:06:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Changing-Folder-Owner-Via-API/m-p/345487#M19930</guid>
      <dc:creator>craggleb</dc:creator>
      <dc:date>2019-05-29T09:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Folder Owner Via API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Changing-Folder-Owner-Via-API/m-p/345517#M19938</link>
      <description>&lt;P&gt;The error that you're seeing is the result of calling the 'list_folder_members' on a folder object rather than a file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The relevant endpoints for this use case are&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_folder_members" target="_self"&gt;list_folder_members&lt;/A&gt; to determine the owner of a specific folder and&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-transfer_folder" target="_self"&gt;transfer_folder&lt;/A&gt; to actually transfer the folder to a new owner.&lt;/P&gt;
&lt;P&gt;Please feel free to reach out again if you need a hand!&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 20:03:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Changing-Folder-Owner-Via-API/m-p/345517#M19938</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-05-20T20:03:56Z</dc:date>
    </item>
  </channel>
</rss>

