---
title: "Preview disconnecting a calendar (what will stop working)"
method: GET
path: "/api/connections/{id}"
tags: ["Account"]
---

# Preview disconnecting a calendar (what will stop working)

`GET /api/connections/{id}`

## Request

- Base URL: `https://whenmeet.me`
- URL: `https://whenmeet.me/api/connections/{id}`
- Auth: API key in cookie `__Host-session`

## Path parameters

- `id` string, required

## Response `200`

{ id, provider, email, warnings[] }

- object
  - `id` string
  - `provider` string
  - `email` string
  - `warnings` union[]
    - union
      - object: No other Google / Microsoft calendar stays connected: live availability stops.
        - `code` 'last_connection', required
      - object: Active booking links (your own or team links you belong to) rely on your calendars.
        - `code` 'booking_links', required
        - `count` integer, required

## Other responses

- `401`: unauthenticated (no session or token), or invalid_token (a Bearer token that is malformed, unknown or revoked — never a silent anonymous fallback).
- `404`: not_found (unknown id or not yours).

---

[API](https://skmtc.dev/whenmeet/apis/whenmeet-me-api.md) · [All operations](https://skmtc.dev/whenmeet/apis/whenmeet-me-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whenmeet/apis/whenmeet-me-api/revisions/202b80022215?raw)
