Passa al contenuto principale

Enable or disable Google Calendar sync

POST 

/api/auth/google/calendar-sync

Enables or disables sharing of the teacher's platform calendar with their linked Google account. When enabled, the teacher will see their lessons directly in Google Calendar. Requires: (1) the user to be a teacher, (2) a Google account already linked via POST /api/auth/google/link, (3) the teacher's google_calendar_id to be already provisioned (created automatically in background at teacher registration).

Request

Responses

Calendar sync preference updated