348 B
348 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.deleteUsersSession('[USER_ID]', '[SESSION_ID]');
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });