get_all_organization_members
should support fields
#534
Labels
feature request
A feature has been asked for or suggested by the community
Uh oh!
There was an error while loading. Please reload this page.
Checklist
Describe the problem you'd like to have solved
The endpoint for fetching all Organization members allows us to pass a
fields
parameter, specifically to include all member's roles in the response. The python library hides this option, and it would be much more performant to allow us to get all roles attached in one request instead of n^2 requests to fetch all users and then each user's roles in a separate request for each.Describe the ideal solution
There are two ways it could play out, either by adding a
include_roles
flag, or by providing access to add more paramters via ** args to this and other functions.Alternatives and current workarounds
The current way we have to do this is to do the following;
Alternatively, we have been accessing variables and functions we shouldn't be, running something like;
Additional context
No response
The text was updated successfully, but these errors were encountered: