You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add the operation that is already supported by the API to bulk remove users from a group.
Description
The API endpoint PUT /api/api-version/sites/site-id/groups/group-id/users/remove (see https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_users_and_groups.htm#remove_user_to_group ) allows to specify a list of users in the request body and all of them are removed from the group with only one API call. It would be nice to have this functionality in the Python library as well so we don't need to loop over the users one by one to remove them from a group.
The text was updated successfully, but these errors were encountered:
Great to see you're working on this @jorwoods and thank you!
One remark, since I've just checked the PR you opened: So far you only consider the bulk user addition/removal to the site as far as I see. It would be great, if you could also support the endpoint for bulk group assignments (add/remove users from group) which is available from API version 3.21 as described in the docs of the endpoint I linked above in the issue description.
Summary
Please add the operation that is already supported by the API to bulk remove users from a group.
Description
The API endpoint
PUT /api/api-version/sites/site-id/groups/group-id/users/remove
(see https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_users_and_groups.htm#remove_user_to_group ) allows to specify a list of users in the request body and all of them are removed from the group with only one API call. It would be nice to have this functionality in the Python library as well so we don't need to loop over the users one by one to remove them from a group.The text was updated successfully, but these errors were encountered: