Skip to content
Back

Get user joined teams from `account.get()`

  • 0
  • Web
  • Auth
  • Cloud
  • Self Hosted
  • REST API
Sam K
5 Jun, 2024, 00:43

Is there a simple way to get the user/users joined teams. What I want to achieve is after the user logs in if he's a member of a certain team and execute some business logic.

now the process to achieve this is by making request to the teams api /teams/{teamId}/memberships/{membershipId} which I have to figure out the membershipId which also is not available from the account api.

TL;DR
Developers are looking to get information on the teams that the user has joined after logging in. Currently, they are struggling to obtain the `membershipId` necessary for this through the `account` API.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more