---
title: "Remove an agent's connection"
method: DELETE
path: "/v1/fleet/agents/{agent_id}/connections/{connection_id}"
tags: ["agents"]
---

# Remove an agent's connection

`DELETE /v1/fleet/agents/{agent_id}/connections/{connection_id}`

Removes a single connection from an agent. The underlying token is not revoked.

## Path parameters

- `agent_id` string, required
- `connection_id` string, required

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `502` — Bad Gateway

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/versions/a0acb3a6a101/schema)
