332 B
332 B
const sdk = require('node-appwrite');
// Init SDK let client = new Users.Client();
let users = new sdk.Users(client);
client .setProject('') .setKey('') ;
let promise = users.deleteUserSessions('[USER_ID]');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });