POST

Disconnect


Disconnects a Wix schedule from an external calendar and deletes all Wix calendar events (SDK | REST) from the external calendar.

When an external calendar is disconnected, the connection's status changes to DISCONNECTED.

After disconnecting, List Events (SDK | REST) no longer returns events from the disconnected external calendar.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings - all permissions
Manage External Calendars
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/bookings/v2/external-calendars/connections/{connectionId}/disconnect

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?