I am trying to manage users team memberships using appwrite functions. To be able to remove a user from a specific team, apparently the only way us using membership ID, is that accurate. Also how do I get the membership ID.
Sorry if its basic, I have read through the documentation but still not sure. When I take ID from the create membership response I get teams ID but not the membership I'd if the user.
Summary
The user is trying to find the membership ID for Teams. They are confused about the difference between team ID, membership ID, and user ID. They want to know if the membership ID is the same as the user's ID. The solution is to use the create membership function, as it should provide both the team ID and the membership ID. The user is also trying to remove a user from a specific team and wants to know if the only way to do that is using the membership ID. They apologize for the basic question and mention that they have read the documentation but are still unsure.
Drake
Dec 2, 2023, 16:10
Create membership should give you both the team ID and membership id