---
title: "Update user calendar sync provider"
method: PATCH
path: "/v4/user/{id}/calendar-sync"
tags: ["User V4"]
---

# Update user calendar sync provider

`PATCH /v4/user/{id}/calendar-sync`

## Request

- Base URL: `https://developer.meetergo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.meetergo.com/v4/user/{id}/calendar-sync`
- Auth: one of:
  - API key in header `x-meetergo-api-user-id`
  - HTTP bearer
  - HTTP bearer

Updates the calendar sync provider settings for a specific user. Only company admins can update calendar sync settings. The calendar sync provider determines which calendar service (Google, Outlook, iCloud, CalDAV, Exchange, Nextcloud, SmartWe) is used to sync the user's availability and create calendar events for bookings. Provide the calendar connection ID and provider type to set the sync provider.

## Path parameters

- `id` string, required

## Request body

- UpdateUserCalendarSyncDTO
  - `calendarSyncProviders` CalendarSync, required
    - `id` string, required
    - `type` 'google' | 'outlook' | 'icloud' | 'caldav' | 'exchange' | 'nextcloud' | 'smart-we' | 'salesforce', required
  - `id` string: id of the user to be updated. If undefined, the user making the request is updated

## Response `200`

Calendar sync provider updated successfully

## Other responses

- `400`: The request did not validate. `message` lists the constraints that failed.
- `401`: Missing, malformed, or expired credentials.
- `403`: Forbidden - Only admins can update calendar sync settings
- `404`: User not found or does not belong to your company
- `429`: Rate limited. Back off and retry.

---

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