Enable or Disable a UserAdmin Scope
Note: Ensure you have installed the required package to use this SDK method.
Catalyst allows you to disable or enable 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. You can find the User IDs of all users by navigating to the Users > User Management section of the Authentication component.
The userManagement reference used in the code snippet below is the component instance.
To Enable a User
copy
userManagement.updateUserStatus('195000000042777', USER_STATUS.ENABLE)
To Disable a User
copy
userManagement.updateUserStatus('195000000042777', USER_STATUS.DISABLE)
Last Updated 2026-07-02 14:51:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit