> For the complete documentation index, see [llms.txt](/llms.txt).

# Logout user

To logout the user and remove the session ID from the device you can use the `logout` method. The user will need to login again to use the dapp next time the dapp is opened.

## Usage[​](#usage "Direct link to Usage")

```
try await web3auth.logout()

```
