#[SOLVED] sessionId

7 messages · Page 1 of 1 (latest)

glossy raptor
#

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());
    })
);
oak mantle
#

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

teal pilot
glossy raptor
#

Oh I missed that. dumb me. Thanks

#

[Solved] sessionId

#

SOLVED] sessionId