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
- Files access permissions
Am I right in understanding that file access permissions have been disabled (or broken again), and that shared access can now only be organized via tokens? Or i...
- functions custom domain issues in self h...
I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict). Main domain works: https://app.printa4.in Function subdomains fa...
- restore backup on another server with an...
I managed to restore DB+Volumes from a server to another one with another domain but when I try to click my project on the console, I get error "404 - Project w...