---
title: "Disconnect Connection"
method: DELETE
path: "/calendar/connections/{connection_id}"
tags: ["calendar"]
---

# Disconnect Connection

`DELETE /calendar/connections/{connection_id}`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/calendar/connections/{connection_id}`
- Auth: none declared

Disconnect a calendar account by deleting our row.

Deliberately does NOT call Google's /revoke: revocation is per application,
not per token, so it would also drop the user's Gmail import and their
"Sign in with Google" grant. Account deletion is the only place that revokes.

## Path parameters

- `connection_id` string, required

## Response `200`

Successful Response

- DisconnectResponse
  - `success` boolean, required

## Other responses

- `422`: Validation Error

---

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