databricks-sdk-java
databricks-sdk-java copied to clipboard
[FEATURE] Hardcoded group management API URL for the workspace
Description
Group management API URL for the workspace is hardcoded in the corresponding class and looks like this: /api/2.0/preview/scim/v2/Groups.
We need to add users to account-level groups programmatically. The problem is that our SPN doesn't have rights to work with account-level group management API (/api/2.0/accounts/%s/scim/v2/Groups) and we were asked to make requests to the following URL: /api/2.0/account/scim/v2/Groups. And that's not possible due to the hardcoded URL.
I would like to request a possibility to choose URL which we are working with in the group management API so we could make requests to /api/2.0/account/scim/v2/Groups.
Expected behavior
User is able to make requests to /api/2.0/account/scim/v2/Groups via SDK
Is it a regression? No
Other Information SDK v.0.42.0
Hello everyone !
It seems that this is the same issue we are facing with my actual client. It's not actually the hardcoded API that is problematic, not having an API for creating group at the workspace level as a workspace admin. Since November 8, 2023, workspaces are enabled by default to identity federation and workspace admin can create groups on the account level by targeting the following API : {workspace_url}/api/2.0/account/scim/v2/Groups which I assume act as a proxy to the account groups API. On the UI it's done via admin settings panel on the workspace.
Do you plan to add this API on the SDK in the future ?
Thanks 🙏