Skip to content

Disconnect a calendar account

DELETE
/appointments/calendars/{credential_id}

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.

Authorizations

Parameters

Path Parameters

credential_id
required
integer

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

204

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string