Skip to navigation

Delete Calendar Connection

View as Markdown
Disconnect one calendar account, and by default delete its synced events and the bots scheduled from them.

Authentication

AuthorizationToken

Format: Token <your_api_key>

Path parameters

providerenumRequired

google or outlook (microsoft is accepted as an alias for outlook).

Allowed values:
account_idstringRequired

The connected account's email address, URL-encoded.

Query parameters

purge_eventsbooleanOptionalDefaults to true

Response

Disconnected.
foundbooleanOptional
disconnectedbooleanOptional
providerstringOptional
account_idstring or nullOptional
purge_eventsbooleanOptional
webhook_cleanupmap from strings to anyOptional
events_cleanupobject or nullOptional
messagestringOptional

Errors

400
Bad Request Error
404
Not Found Error