# Disconnect a Calendar (/how-to/calendar-integrations/disconnect-calendar)



Disconnecting a calendar removes the link between an activity and a specific Google Calendar. You might do this when an employee leaves, when you want to switch to a different calendar, or when troubleshooting token issues.

Before you begin [#before-you-begin]

* You need **Dashboard access** with permission to manage integrations for the activity.
* Identify which calendar link you want to remove. If the activity has multiple linked calendars, each is listed separately with the connected Google account email and calendar name.

Steps [#steps]

1. In the sidebar, navigate to the **activity** whose calendar link you want to remove.
2. Open the activity's **Settings** or **Integrations** tab.
3. Find the calendar link you want to disconnect. Each link shows the Google account email and the calendar name.
4. Click **Disconnect** (or the delete/remove button next to the link).
5. Confirm the disconnection when prompted.

What happens when you disconnect [#what-happens-when-you-disconnect]

* The `CalendarLink` record and all associated `CalendarEvent` records are deleted from the Resytech database via cascading delete.
* **Events already on Google Calendar are not deleted.** Resytech does not reach out to Google to remove events that were previously synced. They remain on the calendar as standalone events.
* The encrypted OAuth tokens (access token and refresh token) are permanently removed.
* Future bookings for this activity will no longer create events on the disconnected calendar. If other calendar links exist for the same activity, those continue to function normally.

Reconnecting after disconnect [#reconnecting-after-disconnect]

If you disconnected by mistake or want to link the same calendar again:

1. Follow the [Connect Google Calendar](/how-to/calendar-integrations/connect-google-calendar) guide to run the OAuth flow again.
2. Select the same calendar during the calendar selection step.
3. New and updated bookings will begin syncing to the reconnected calendar. However, **bookings that were created while the calendar was disconnected will not be retroactively synced** -- only future booking changes trigger sync.

Revoking access from Google's side [#revoking-access-from-googles-side]

Instead of (or in addition to) disconnecting from the Resytech Dashboard, you can revoke Resytech's access directly from your Google Account:

1. Go to [Google Account > Security > Third-party apps with account access](https://myaccount.google.com/permissions).
2. Find **Resytech** in the list and click **Remove Access**.

After revoking access from Google, the calendar link in Resytech will still exist, but the next time Resytech tries to refresh the token, it will fail. Sync operations will be skipped and a warning will be logged. To clean up, disconnect the stale link from the Resytech Dashboard as described above.

Tips [#tips]

* **Disconnect before switching accounts.** If you want to move sync from one Google account to another, disconnect the old link first, then connect the new account.
* **Check the communication log.** If you suspect sync was not working before you disconnected, check the activity's sync logs for error messages about expired or revoked tokens.
* **Multiple links are independent.** Disconnecting one calendar link does not affect other links on the same activity.
