--- title: "User Logout" url: https://docs.catalyst.zoho.com/en/sdk/ios/v2/cloud-scale/authentication/user-logout/ 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 out from the Catalyst iOS app. The code syntax for user logout is given below: ZCatalystApp.shared.logout( completion : @escaping ( Error? ) -> Void ) ViewController.swift **Parameters**: * **completion**: The completion block will be passed with an error if the logout was unsuccessful.