Back to Zulip

Deactivate or reactivate a user

starlight_help/src/content/docs/deactivate-or-reactivate-a-user.mdx

12.04.9 KB
Original Source

import {Steps, TabItem, Tabs} from "@astrojs/starlight/components";

import FlattenedSteps from "../../components/FlattenedSteps.astro"; import NavigationSteps from "../../components/NavigationSteps.astro"; import ZulipNote from "../../components/ZulipNote.astro"; import ZulipTip from "../../components/ZulipTip.astro"; import AdminOnly from "../include/_AdminOnly.mdx"; import ManageThisUser from "../include/_ManageThisUser.mdx"; import ManageUserTabTip from "../include/_ManageUserTabTip.mdx";

import UserCircleDeactivatedIcon from "~icons/zulip-icon/user-circle-deactivated"; import UserPlusIcon from "~icons/zulip-icon/user-plus"; import UserXIcon from "~icons/zulip-icon/user-x";

Deactivating a user

<AdminOnly />

When you deactivate a user:

  • The user will be immediately logged out of all Zulip sessions, including desktop, web and mobile apps.
  • The user's credentials for logging in will no longer work, including password login and any other login options enabled in your organization.
  • The user's bots will be deactivated.
  • Email invitations and invite links created by the user will be disabled.
  • Other users will be able to see that the user has been deactivated (e.g., on their user card). In sidebars and elsewhere, a user's availability will be replaced with a deactivated icon (<UserCircleDeactivatedIcon />).
  • Even if your organization allows users to join without an invitation, this user will not be able to rejoin with the same email account.
  • You can choose whether to delete the user's name, profile picture, and messages they've sent (e.g., their DMs or channel messages).
<ZulipNote> You must go through the deactivation process below to fully remove a user's access to your Zulip organization. Changing a user's password or removing their single sign-on account will not log them out of their open Zulip sessions, or disable their API keys. </ZulipNote>

Deactivate a user

<Tabs> <TabItem label="Via user profile"> <FlattenedSteps> <ManageThisUser />
  1. Click **Deactivate user** at the bottom of the **Manage user** menu.
  1. *(optional)* Select **Notify this user by email?** if desired, and enter a
     custom comment to include in the notification email.
  1. Choose whether to delete the user's name, profile picture, and messages
     they've sent (e.g., their DMs or channel messages).
  1. Approve by clicking **Deactivate**.
</FlattenedSteps>

<ManageUserTabTip />
</TabItem> <TabItem label="Via organization settings"> <FlattenedSteps> <NavigationSteps target="settings/users" />
  1. In the **Actions** column, click the **deactivate user** (<UserXIcon />)
     icon for the user you want to deactivate.
  1. *(optional)* Select **Notify this user by email?** if desired, and enter a
     custom comment to include in the notification email.
  1. Choose whether to delete the user's name, profile picture, and messages
     they've sent (e.g., their DMs or channel messages).
  1. Approve by clicking **Deactivate**.
</FlattenedSteps>
</TabItem> </Tabs> <ZulipTip> Organization administrators cannot deactivate organization owners. </ZulipTip>

Reactivating a user

<AdminOnly />

A reactivated user will have the same role, channel 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 their bots will be deactivated until the user manually reactivates them again.

Reactivate a user

<Tabs> <TabItem label="Via organization settings"> <FlattenedSteps> <NavigationSteps target="settings/deactivated" />
  1. Select the **Deactivated** tab.
  1. In the **Actions** column, click the **reactivate user** (<UserPlusIcon />) icon for the user you want to reactivate.
</FlattenedSteps>
</TabItem> <TabItem label="Via user profile"> <Steps> 1. Click on a user's profile picture or name on a message they sent to open their **user card**. 1. Click **View profile**. 1. Select the **Manage user** tab. 1. Click **Reactivate user** at the bottom of the **Manage user** menu. 1. Approve by clicking **Confirm**. </Steps>
<ManageUserTabTip />
</TabItem> </Tabs> <ZulipTip> You may want to [review and adjust](/help/manage-user-channel-subscriptions) the reactivated user's channel subscriptions. </ZulipTip>