249 B
249 B
let sdk = new Appwrite();
sdk .setProject('5df5acd0d48c2') ;
let promise = sdk.teams.deleteMembership('[TEAM_ID]', '[INVITE_ID]');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });