# Logout user

> Web3Auth iOS SDK - logout | Embedded Wallets

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

```swift
try await web3auth.logout()
```
