
How can i get the user "[SESSION_ID]"
to log them out using this function for example:
Account account = new Account(client);
account.deleteSession(
"[SESSION_ID]"
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);

If its the current user can log them out by deleting the current session

if you want to delete the current session, just use 'current'
for the Session ID


Oh I missed that. dumb me. Thanks

[Solved] sessionId

SOLVED] sessionId

[SOLVED] sessionId
Recommended threads
- Cannot use Google Oauth in my Project
I tried to use Appwrite Google Oauth Provider in my app but had some troubles. I receives this error no matter what: error or success: 2025-09-21 18:50:33.845 3...
- Adding "name" column to table creates 2-...
As stated, im adding the "name" column to one table, it adds 4 duplicates. In another table it adds 3 duplicates, and when I delete 1 of them, all duplucates di...
- Google signin with appwrite
I want to use Google sign in in android and create session from idToken using appwrite. But, i don't know if it's achievable or not. because i don't want to use...
