Skip to content

[TYPE 1] Add bulk removal for users from groups #1406

Closed

Description

@tkonsta

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.

Activity

  1. jorwoods commented on Jun 27, 2024

    @jorwoods
    Contributor

    Work in progress.

  2. tkonsta commented on Jun 28, 2024

    @tkonsta
    Author

    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.

  3. jorwoods commented on Jun 28, 2024

    @jorwoods
    Contributor

    Ah, you're right. Yeah, I misread the issue name as site instead of group. I'll try to add the bulk group edits sometime soon.

  4. github-actions commented on Jul 25, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.

  5. jacalata commented on Jul 31, 2026

    @jacalata
    Contributor

    Bulk group user add/remove landed in #1413 (Aug 2024). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions