Skip to main content
PATCH
/
v4
/
user
/
{id}
/
calendar-sync
Update user calendar sync provider
curl --request PATCH \
  --url https://api.example.com/v4/user/{id}/calendar-sync \
  --header 'Content-Type: application/json' \
  --header 'x-meetergo-api-user-id: <api-key>' \
  --data '
{
  "calendarSyncProviders": {
    "id": "<string>",
    "type": "google"
  },
  "id": "<string>"
}
'

Authorizations

x-meetergo-api-user-id
string
header
required

User ID to act as when using API Key authentication (required with API Key)

Path Parameters

id
string
required

Unique identifier of the user to update

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
calendarSyncProviders
object
required
id
string

id of the user to be updated. If undefined, the user making the request is updated

Response

Calendar sync provider updated successfully