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.
Create membership should give you both the team ID and membership id
Thanks Steven but this page is what confused me. Here $id, teamsId and userId are all the same ?? Which is supposed to be memshipId
Am I correct is assuming $id is membership ID?
This is just a dummy sample. That is is membership id.
[Solved] How to get user Teams Membership ID
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...