> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mithunai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disconnect a tool

> Stop using a saved connection for one of an AI employee's tools.

The tool reaches nothing again: an approved action on it is recorded as `not_sent`, with the draft for a person to use by hand.

> [!WARNING]
>
> AI employees are in **beta**. Every route answers `404` unless your deployment has switched the
> beta on. See [AI employees](https://docs.mithunai.com/team/overview.md).

The saved connection itself is kept. Requires owner or admin, and a person. Audited. Nothing of that kind attached is `404`.

**role** `string` *required*

`support`, `itsm`, `devops`, `marketer`, `sales` or `finance`.

**tool** `string` *required*

The tool, as in [Connect a tool](https://docs.mithunai.com/api-reference/employees/attach-tool.md).

**kind** `string` *required*

`zendesk`, `atlassian`, `github`, `grafana`, `hubspot`, `wordpress`, `slack`, `stripe`, `okta`,
`google_workspace` or `microsoft_entra`.

> [!NOTE]
>
> Off by default. `principal_id` is only accepted while the deployment has switched on
> `MITHUNAI_AI_EMPLOYEES_PERSONAL_MAILBOXES`.

**principal\_id** `string`

One person's own attachment (UUID); absent means the organization's. See [Connect a
tool](https://docs.mithunai.com/api-reference/employees/attach-tool.md).

## Response

`204`, no body.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.