Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/mod.ts>Teams#updateMembershipStatus

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Teams.prototype.updateMembershipStatus
Re-export
import { Teams } from "https://deno.land/x/appwrite@4.0.0/mod.ts";

Update Team Membership Status

Use this endpoint to allow a user to accept an invitation to join a team after being redirected back to your app from the invitation email received by the user.

If the request is successful, a session for the user is automatically created.

Parameters

teamId: string
membershipId: string
userId: string
secret: string