---
name: "connect_remove"
area: "connect"
title: "Remove a connection"
price: "free"
method: "POST"
url: "https://api.conecto.chat/v1/tools/connect_remove"
mcp_server: "https://api.conecto.chat/mcp/connect"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/connect/connect_remove"
---

# Remove a connection (`connect_remove`)

Forgets a connected system and its credential; the system itself doesn't change.

Forget a connected system and its credential. Nothing changes in the system itself.

Price: Free. A call that fails costs nothing.

## Use it when

The company stops using a system, or the agent shouldn't reach it any more.

## Say this to your agent

> We are done with the old help desk. Remove its connection.

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `connection` | string | yes | The connection's name. 2 to 40 characters. |  |  |

## Example

Written for Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff.

MCP: call `connect_remove` on the MCP server `https://api.conecto.chat/mcp/connect` with these arguments:

```json
{
  "connection": "zendesk"
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/connect_remove \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"connection": "zendesk"}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "connect_remove",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.00",
  "balance_usd": "$19.75",
  "result": {
    "removed": "zendesk"
  }
}
```

`result`: removed: the connection's name.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `not_found` | 404 | No connection has that name. | connect_list shows them. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [connect_add](https://conecto.chat/tools/connect/connect_add.md): Connects one of the company's systems: its address, its credential (kept encrypted) and the calls it may make. Free.
- [connect_list](https://conecto.chat/tools/connect/connect_list.md): The connected systems with their address, auth and allowed calls, and this month's call count. Free up to 1,000,000 reads a month.
- [connect_preview](https://conecto.chat/tools/connect/connect_preview.md): Shows exactly what a call would send (method, full address, headers with the credential hidden, body) without sending it. Free up to 1,000,000 reads a month.
- [connect_call](https://conecto.chat/tools/connect/connect_call.md): Sends one request to a connected system, inside its allowed calls, and returns its answer. $0.0003 for each started 10 seconds the system takes to answer ($0.0003 when it answers within 10 seconds), up to $0.0012.
- [connect_set_rules](https://conecto.chat/tools/connect/connect_set_rules.md): Replaces a connection's allowed calls; waits for the owner's approval by default. $0.001 a call.
