---
title: "Disconnect a calendar and erase locally stored tokens"
method: POST
path: "/v1/calendars/{connection_id}/disable"
---

# Disconnect a calendar and erase locally stored tokens

`POST /v1/calendars/{connection_id}/disable`

## Request

- Base URL: `https://api.skysay.ai`
- URL: `https://api.skysay.ai/v1/calendars/{connection_id}/disable`
- Auth: none declared

Bound to the authenticated organization and a project in that organization. agents:write required. Tokens and provider errors are never returned. selections is an explicit network command, bounded to 100 results with has_more.

## Path parameters

- `connection_id` string, required

## Request body

- object
  - `organization_id` string
  - `project_id` string, required

## Response `200`

Safe connection metadata or bounded selection list

## Other responses

- `400`: Invalid policy or unsupported provider capability
- `404`: Connection not found in this workspace/project

---

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