Search.../
  1. Home
  2. Getting Started
  3. Overview
Generate a test token to explore our APIs

Unsync

Developer Preview

Removes the sync to/from an external calendar.

Authorization

This endpoint requires an authorization header - pass the access token from the OAuth installation flow.

Permissions

This endpoint requires the Manage Bookings permission scope.

POST

https://www.wixapis.com/bookings/v1/externalCalendar/unsync

Body Params

NAME
TYPE
DESCRIPTION
resourceId
Required

string

Resource ID.

calendar

string

Supported values: GOOGLE.

Calendar type.

Response Object

Returns an empty object.

Status/Error Codes

The response will include an HTTP status code.

Was this helpful?

Unsync External Calendar

Unsync the Google calendar for the given resource id.

Request

curl

Copy Code
1curl -X POST \
2 'https://www.wixapis.com/bookings/v1/externalCalendar/unsync' \
3 -H "Content-Type: application/json" \
4 -H 'Authorization: <AUTH>' \
5 --data '{ "resourceId" : "0effc651-f74d-4969-b548-29ea0290aa62", "calendar": "GOOGLE" }'

Response

json

1
2{}