---
title: "Disconnect By Connection Id"
method: DELETE
path: "/health-providers/connections/{connection_id}"
tags: ["health-providers"]
---

# Disconnect By Connection Id

`DELETE /health-providers/connections/{connection_id}`

## Request

- Base URL: `https://api.imperfect.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.imperfect.co/health-providers/connections/{connection_id}`
- Auth: HTTP bearer

Disconnect a specific health provider connection by ID.

Useful when a user has multiple connections for the same provider
(e.g., multiple Terra brands like Whoop + Clue).

## Path parameters

- `connection_id` string, required

## Query parameters

- `user_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/imperfect/apis/imperfect-api.md) - [All operations](https://skmtc.dev/imperfect/apis/imperfect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/imperfect/apis/imperfect-api/revisions/5f9db30c6e6e?raw)
