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