---
title: "Delete connection"
method: DELETE
path: "/connectors/v1/connections/{id}"
tags: ["Connectors"]
---

# Delete connection

`DELETE /connectors/v1/connections/{id}`

## Request

- Base URL: `https://api.case.dev`
- URL: `https://api.case.dev/connectors/v1/connections/{id}`
- Auth: HTTP bearer

Unlink a provider account: revoke tokens at the provider and delete them. purge=true additionally deletes the vault documents its import links brought in.

## Path parameters

- `id` string, required

## Query parameters

- `purge` boolean

## Headers

- `x-case-connector-subject` string

## Response `202`

Connection revoked; imported-document purge scheduled

## Other responses

- `204`: Connection revoked and tokens deleted
- `401`: Invalid API key
- `403`: Insufficient permissions
- `404`: Connection not found

## Changes

- **2026-10-16** `a21d188f4b21`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casemark/apis/case-dev-api/changes/connectors/v1/connections/:id/delete.md)

---

[API](https://skmtc.dev/casemark/apis/case-dev-api.md) - [All operations](https://skmtc.dev/casemark/apis/case-dev-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casemark/apis/case-dev-api/revisions/9a3245c00044?raw)
