---
title: "Remove Connection"
method: DELETE
path: "/v2/auth/agents/{agent_id}/connections/{connection_id}"
tags: ["Agent Connections (v2)"]
---

# Remove Connection

`DELETE /v2/auth/agents/{agent_id}/connections/{connection_id}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

## Path parameters

- `agent_id` string, required: Agent ID
- `connection_id` string, required: Connection ID

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith-deployment-control-plane-api.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith-deployment-control-plane-api/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith-deployment-control-plane-api/revisions/a0cd098699b4?raw)
