<?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 get a list of users in a workspace with Account Level APIs in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/how-to-get-a-list-of-users-in-a-workspace-with-account-level/m-p/89360#M8296</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;We are planning to move to Unity Catalog soon so started replacing workspace API with Account Level APIs. One use case I have is getting a list of users, pretty straight forward with workspace:&lt;BR /&gt;{workspaceUrl}api/2.0/preview/scim/v2/Users?count={count}&amp;amp;startIndex={index}&lt;/P&gt;&lt;P&gt;How can I get the same result with Account Level API?&lt;/P&gt;&lt;P&gt;This will give me all users at account level, how do I get the users for workspace from here? {DatabricksAccountURL}/api/2.0/accounts/scim/v2/Users?count={count}&amp;amp;startIndex={index}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 19:16:07 GMT</pubDate>
    <dc:creator>unseen007</dc:creator>
    <dc:date>2024-09-10T19:16:07Z</dc:date>
    <item>
      <title>How to get a list of users in a workspace with Account Level APIs</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-get-a-list-of-users-in-a-workspace-with-account-level/m-p/89360#M8296</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;We are planning to move to Unity Catalog soon so started replacing workspace API with Account Level APIs. One use case I have is getting a list of users, pretty straight forward with workspace:&lt;BR /&gt;{workspaceUrl}api/2.0/preview/scim/v2/Users?count={count}&amp;amp;startIndex={index}&lt;/P&gt;&lt;P&gt;How can I get the same result with Account Level API?&lt;/P&gt;&lt;P&gt;This will give me all users at account level, how do I get the users for workspace from here? {DatabricksAccountURL}/api/2.0/accounts/scim/v2/Users?count={count}&amp;amp;startIndex={index}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 19:16:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-get-a-list-of-users-in-a-workspace-with-account-level/m-p/89360#M8296</guid>
      <dc:creator>unseen007</dc:creator>
      <dc:date>2024-09-10T19:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of users in a workspace with Account Level APIs</title>
      <link>https://community.databricks.com/t5/get-started-discussions/how-to-get-a-list-of-users-in-a-workspace-with-account-level/m-p/89362#M8297</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/120183"&gt;@unseen007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To get a list of all users in a given workspace, you should use &lt;SPAN&gt;&lt;STRONG&gt;api/2.0/preview/scim/v2/Users&lt;/STRONG&gt;&amp;nbsp;api endpoint&lt;/SPAN&gt;. Why do you assume this API is inappropriat? Unity Catalog has nothing to do with this. One API let's you list user at account level (&lt;STRONG&gt;/api/2.0/accounts&lt;/STRONG&gt;), the other at workspace level. Both are valid.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 19:31:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/how-to-get-a-list-of-users-in-a-workspace-with-account-level/m-p/89362#M8297</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-10T19:31:43Z</dc:date>
    </item>
  </channel>
</rss>

