--- title: "Enable or Disable a User" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/enable-disable-user/ description: "This page describes the method to perform operations in the Authentication component." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "Authentication Help" url: /en/cloud-scale/help/authentication/introduction/ - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/authentication/enable-disable-user/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/authentication/enable-disable-user/ - name: "iOS SDK" url: /en/sdk/ios/v2/cloud-scale/authentication/create-user-instance/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/authentication/create-user-instance/ - name: "Flutter SDK" url: /en/sdk/flutter/v2/cloud-scale/authentication/create-user-instance/ - name: "REST API" url: /en/api/code-reference/cloud-scale/authentication/sign-out-user/#SignOutUser repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Enable or Disable a User > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/overview/#prerequisites) to use this SDK method. Catalyst allows you to [disable or enable a user](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/implementation/#enable-or-disable-a-user) at any time. A disabled user will be signed up to your application but will not be able to access your application. You can enable or disable an end-user using the `updateUserStatus(userId, USER_STATUS)` method. The user is referred by their unique [User ID](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/users/introduction/). You can find the User IDs of all users by navigating to the *Users* > [*User Management*](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/user-management/introduction/) section of the [Authentication](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/introduction/) component. The `userManagement` reference used in the code snippet below is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/authentication/get-component-instance/). ### To Enable a User ```javascript userManagement.updateUserStatus('195000000042777', USER_STATUS.ENABLE) ``` ### To Disable a User ```javascript userManagement.updateUserStatus('195000000042777', USER_STATUS.DISABLE) ```