[Halted] Upcoming changes that impact getting and setting memberships and access levels

With the previous Team Membership API endpoint (/users/<usergid>/team_memberships) you had the option to get all the teams belonging (= being a member of) to the given user. What is the alternative with the current endpoint?

A parent parameter along with a member parameter are available. Member should obviously be the user, but the parent is required too. Therefore, you cannot get a list of all related teams. The only alternative I can think of right now is to list all teams inside a workspace and loop through all teams to see if the given user is a member, but that will require a lot of calls for something that should be simple.

There must be a better way to do this right? :thinking:

1 Like