Skip to main content
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@10.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