zulip/templates/zerver/help/deactivate-or-reactivate-a-...

2.5 KiB
Raw Blame History

Deactivate or reactivate a user

{!admin-only.md!}

Deactivate (ban) a user

To properly remove a users access to a Zulip organization, it does not suffice to change their password or deactivate their account in an external email system, since the users API key and bot API keys will still be active. Instead, you need to deactivate the users account using the Zulip administrative interface.

Note that organization administrators cannot deactivate organization owners.

{start_tabs}

{tab|via-user-profile}

  1. Hover over a user's name in the right sidebar.

  2. Click on the ellipsis () to the right of their name.

  3. Click Manage this user.

  4. Click the Deactivate user button at the bottom.

  5. Approve by clicking Deactivate.

{tab|via-organization-settings}

{settings_tab|user-list-admin}

  1. Click the Deactivate button to the right of the user account that you want to deactivate.

  2. 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}

  1. Click the Deactivate button to the right of the user account that you want to deactivate.

  2. Check the checkbox labeled "Notify this user by email?".

  3. Optional: Enter a custom message for the user in the provided textbox.

  4. Approve by clicking Confirm.

{end_tabs}

Here is a sample notification email:

view-of-admin

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}

  1. 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.