2.5 KiB
Deactivate or reactivate a user
{!admin-only.md!}
Deactivate (ban) a user
To properly remove a user’s access to a Zulip organization, it does not suffice to change their password or deactivate their account in an external email system, since the user’s API key and bot API keys will still be active. Instead, you need to deactivate the user’s account using the Zulip administrative interface.
Note that organization administrators cannot deactivate organization owners.
{start_tabs}
{tab|via-user-profile}
{!profile-summary-three-dot-menu.md!}
-
Click Manage this user.
-
Click the Deactivate user button at the bottom.
-
Approve by clicking Deactivate.
{tab|via-organization-settings}
{settings_tab|user-list-admin}
-
Click the Deactivate button to the right of the user account that you want to deactivate.
-
Approve by clicking Deactivate.
{end_tabs}
The user will be logged out immediately and not be able to log back in. The user's bots will also be deactivated. Lastly, the user will be unable to create a new Zulip account in your organization using their deactivated email address.
Notify users of their deactivation
Zulip can optionally send the user an email notification that their account was deactivated.
{start_tabs}
{settings_tab|user-list-admin}
-
Click the Deactivate button to the right of the user account that you want to deactivate.
-
Check the checkbox labeled "Notify this user by email?".
-
Optional: Enter a custom message for the user in the provided textbox.
-
Approve by clicking Confirm.
{end_tabs}
Here is a sample notification email:
Reactivate a user
Organization administrators can reactivate a deactivated user. The reactivated user will have the same role, stream subscriptions, user group memberships, and other settings and permissions as they did prior to deactivation. They will also have the same API key and bot API keys, but the bots will be deactivated until the user manually reactivates them again.
{start_tabs}
{settings_tab|deactivated-users-admin}
- Click the Reactivate button to the right of the user account that you want to reactivate.
{end_tabs}
!!! tip "" You may want to review and adjust the reactivated user's stream subscriptions.