Files
zulip/starlight_help/src/content/docs/deactivate-or-reactivate-a-bot.mdx
Shubham Padia 8ddc7bee00 help: Make include a sibling of content/docs directory.
When moving content between the include files and the docs files while
copy pasting them, there was a need to change the imports everytime
this was done. This was inconvenient to do.

We considered path aliases to solve this problem but not all editors
support path resolution via those aliases and thus we change the
directory structure instead.

We change imports for components, include files and images in this
commit.

See
https://chat.zulip.org/#narrow/channel/19-documentation/topic/confused.20about.20include.20file
for more info.
2025-09-26 11:12:21 -07:00

91 lines
2.8 KiB
Plaintext

---
title: Deactivate or reactivate a bot
---
import {TabItem, Tabs} from "@astrojs/starlight/components";
import FlattenedSteps from "../../components/FlattenedSteps.astro";
import NavigationSteps from "../../components/NavigationSteps.astro";
import ZulipTip from "../../components/ZulipTip.astro";
import AdminOnly from "../include/_AdminOnly.mdx";
import UserCogIcon from "~icons/zulip-icon/user-cog";
import UserPlusIcon from "~icons/zulip-icon/user-plus";
import UserXIcon from "~icons/zulip-icon/user-x";
By default, users can deactivate and reactivate the bots that they
add. Organization admins can prevent users from reactivating bots by
[restricting bot creation](/help/restrict-bot-creation).
Organization administrators can also deactivate or reactivate any existing
bot, regardless of who owns them.
## Deactivate a bot
<Tabs>
<TabItem label="Via personal settings">
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
1. Click the **deactivate bot** (<UserXIcon />)
icon on the profile card for the bot you want to deactivate.
1. Approve by clicking **Deactivate**.
</FlattenedSteps>
<ZulipTip>
You can also click the **manage bot** (<UserCogIcon />) icon, scroll down to the bottom,
and click **Deactivate bot**.
</ZulipTip>
</TabItem>
<TabItem label="Via organization settings">
<AdminOnly />
<FlattenedSteps>
<NavigationSteps target="settings/bot-list-admin" />
1. In the **Actions** column, click the **deactivate bot** (<UserXIcon />) icon for the bot you want to deactivate.
1. Approve by clicking **Deactivate**.
</FlattenedSteps>
<ZulipTip>
You can also click the **manage bot** (<UserCogIcon />) icon, scroll down to the bottom,
and click **Deactivate bot**.
</ZulipTip>
</TabItem>
</Tabs>
## Reactivate a bot
<Tabs>
<TabItem label="Via personal settings">
<FlattenedSteps>
<NavigationSteps target="settings/your-bots" />
1. Click the **Inactive bots** tab.
1. Click **Reactivate bot** on the profile card for the bot you want to reactivate.
1. Approve by clicking **Confirm**.
</FlattenedSteps>
</TabItem>
<TabItem label="Via organization settings">
<AdminOnly />
<FlattenedSteps>
<NavigationSteps target="settings/bot-list-admin" />
1. In the **Actions** column, click the **reactivate bot** (<UserPlusIcon />) icon for the bot you want to reactivate.
1. Approve by clicking **Confirm**.
</FlattenedSteps>
</TabItem>
</Tabs>
## Related articles
* [Bots overview](/help/bots-overview)
* [Integrations overview](/help/integrations-overview)
* [Add a bot or integration](/help/add-a-bot-or-integration)
* [Manage a bot](/help/manage-a-bot)
* [Restrict bot creation](/help/restrict-bot-creation)
* [View all bots in your organization](/help/view-all-bots-in-your-organization)