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

# Delete Integration

> Disconnect an integration. Its tools are removed from every agent in the workspace

Delete a connection. Its stored credentials are deleted. Its tools are removed from every agent in your workspace that used them. Those agents keep their other tools.

## Request

### Headers

**Authorization** `string` *required*

Bearer token with your API key (scope `agents`)

### Path

**id** `string` *required*

The connection `id` (UUID)

## Response

**200 OK**

```json theme={null}
{
  "success": true,
  "data": { "deleted": true, "agents_updated": 2 }
}
```

`agents_updated` is the number of agents that lost at least one tool.

## Errors

| Status | Code | Meaning |
| - | - | - |
| 403 | `POLICY_DENY` | Your role cannot manage integrations, or the API key lacks the `agents` scope |
| 404 | `INTEGRATION_NOT_FOUND` | No connection with this ID in your workspace |

## Example

```bash cURL theme={null}
curl -X DELETE https://api.60db.ai/agents/integrations/INTEGRATION_ID \
  -H "Authorization: Bearer your-api-key"
```


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