--- title: "User Logout" url: https://docs.catalyst.zoho.com/en/sdk/android/v2/cloud-scale/authentication/user-logout/ description: "You can log an app user out from the Catalyst Android app." last_updated: 2025-11-19T15:07:41Z service: Cloud Scale type: general related_links: - name: "Authentication" url: /en/cloud-scale/help/authentication/introduction - name: "Users" url: /en/cloud-scale/help/authentication/user-management/users/introduction/ - name: "Logout User - API" url: /en/api/code-reference/cloud-scale/authentication/sign-out-user/#SignOutUser --- # User Logout The `logout()` method can log an [app user](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/) out from the Catalyst Android app. The code syntax for user logout is given below: ```bash ZCatalystApp.getInstance().logout( success: () → Unit, failure: (ZCatalystException) → Unit ): Unit ``` A sample code snippet is shown below: ```bash ZCatalystApp.getInstance().logout( { ZCatalystLogger.logInfo("Logout Success") //Actions to execute on successful logout }, { ZCatalystLogger.logError("Logout failed - $it") //Actions to execute on failed logout }) ``` The methods of the `ZCatalystLogger` class are used to log the result of the operation. You can define your own actions to execute upon a successful or failed logout.