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

x/appwrite/mod.ts>Teams#deleteMembership

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

Delete Team Membership

This endpoint allows a user to leave a team or for a team owner to delete the membership of any other team member. You can also use this endpoint to delete a user membership even if it is not accepted.

Parameters

teamId: string
membershipId: string