<?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 Re: Question on retrieving the dbmid for my user in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Question-on-retrieving-the-dbmid-for-my-user/m-p/530350#M1991</link>
    <description>&lt;P&gt;IDs that start with "dbmid:" are "team member IDs", often named "team_member_id" on the API. There are a number of ways you can retrieve that via the API, such as by calling &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list" target="_self"&gt;/2/team/members/list_v2&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list" target="_self"&gt;/continue&lt;/A&gt;], to list all team members, or &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-get_info" target="_self"&gt;/2/team/members/get_info_v2&lt;/A&gt;, to look up a specific team member. Those are &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.team_members_list_v2" target="_self"&gt;team_members_list_v2&lt;/A&gt;, &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.team_members_list_continue_v2" target="_self"&gt;team_members_list_continue_v2&lt;/A&gt;, and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.team_members_get_info_v2" target="_self"&gt;team_members_get_info_v2&lt;/A&gt;, respectively, in &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;the official Dropbox API v2 Python SDK&lt;/A&gt;. You could also use &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_members/get_info_v2" target="_blank"&gt;the API v2 Explorer&lt;/A&gt; if you just need to try out a call manually.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 16:50:33 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-07-01T16:50:33Z</dc:date>
    <item>
      <title>Question on retrieving the dbmid for my user</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Question-on-retrieving-the-dbmid-for-my-user/m-p/530344#M1990</link>
      <description>&lt;P&gt;I've just inherited a Python script that uses the Dropbox API to backup data from a third-party source to a folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the employee that used the script went on to another job, his account was deactivated and the app stopped working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I went in, created an app, and am setting up credentials to get the new app up and running again under a new admin user (myself).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The scipt asks for:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a &lt;STRONG&gt;token&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;a &lt;STRONG&gt;namespace&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;a &lt;STRONG&gt;userid —&amp;nbsp;&lt;/STRONG&gt;starts with &lt;STRONG&gt;dbmid:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I've been able to find, the namespace is essentially the folder. It still exists, so I don't actually need to change the value here since I'm not using another folder (at least that's how I think it works).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The token is provided by the "&lt;STRONG&gt;Generated access token"&amp;nbsp;&lt;/STRONG&gt;option on the App's Settings page (again, assuming I'm understanding this correctly).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dbmid is a user-specific token. However, I have no idea where I can retrieve this value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 14:22:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Question-on-retrieving-the-dbmid-for-my-user/m-p/530344#M1990</guid>
      <dc:creator>mike1711</dc:creator>
      <dc:date>2021-07-08T14:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question on retrieving the dbmid for my user</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Question-on-retrieving-the-dbmid-for-my-user/m-p/530350#M1991</link>
      <description>&lt;P&gt;IDs that start with "dbmid:" are "team member IDs", often named "team_member_id" on the API. There are a number of ways you can retrieve that via the API, such as by calling &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list" target="_self"&gt;/2/team/members/list_v2&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-list" target="_self"&gt;/continue&lt;/A&gt;], to list all team members, or &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team-members-get_info" target="_self"&gt;/2/team/members/get_info_v2&lt;/A&gt;, to look up a specific team member. Those are &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.team_members_list_v2" target="_self"&gt;team_members_list_v2&lt;/A&gt;, &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.team_members_list_continue_v2" target="_self"&gt;team_members_list_continue_v2&lt;/A&gt;, and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.team_members_get_info_v2" target="_self"&gt;team_members_get_info_v2&lt;/A&gt;, respectively, in &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;the official Dropbox API v2 Python SDK&lt;/A&gt;. You could also use &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_members/get_info_v2" target="_blank"&gt;the API v2 Explorer&lt;/A&gt; if you just need to try out a call manually.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 16:50:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Question-on-retrieving-the-dbmid-for-my-user/m-p/530350#M1991</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-07-01T16:50:33Z</dc:date>
    </item>
  </channel>
</rss>

