---
title: "Disconnect a calendar account"
method: DELETE
path: "/appointments/calendars/{credential_id}"
tags: ["Appointments"]
---

# Disconnect a calendar account

`DELETE /appointments/calendars/{credential_id}`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/appointments/calendars/{credential_id}`
- Auth: HTTP bearer

Disconnect a calendar account with best-effort token revocation.
Reuses the in-app disconnect_calendar logic (revoke + delete credential +
clean up destination calendar rows pointing at the removed credential).
Raises 404 when not found; 403 when it belongs to a different user.

## Path parameters

- `credential_id` integer, required

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
