-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE] groups API uses an outdated endpoint #583
Comments
I'm experiencing this issue too. There should be option at override Group api path, or to use API path starts with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The SDK is using an outdated preview endpoint for groups management, which does not work with the new public preview feature that allows us to specify group managers who are not workspace admins but who do have access to manage groups.
the SDK uses the URL
/api/2.0/preview/scim/v2/Groups/
while the correct path should be, according to https://docs.databricks.com/api/account/accountgroups/patch
/api/2.0/accounts/{account_id}/scim/v2/Groups for account admins
and
/api/2.0/account/scim/v2/Groups for workspace admins
Reproduction
the following works to update groups:
Expected behavior
A clear and concise description of what you expected to happen.
Is it a regression?
Did this work in a previous version of the SDK? If so, which versions did you try?
Debug Logs
The SDK logs helpful debugging information when debug logging is enabled. Set the log level to debug by adding
logging.basicConfig(level=logging.DEBUG)
to your program, and include the logs here.Other Information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: