Update Calendar
Updates a calendar integration with new credentials or platform while maintaining the same UUID. This operation is performed as an atomic transaction to ensure data integrity. The system automatically unschedules existing bots to prevent duplicates, updates the calendar credentials, and triggers a full resync of all events. Useful when OAuth tokens need to be refreshed or when migrating a calendar between providers. Returns the updated calendar object with its new configuration.
Authorization
ApiKeyAuth x-meeting-baas-api-key<token>
API key for authentication
In: header
Path Parameters
uuid*string
The UUID identifier
Request Body
application/json
oauth_client_id*string
oauth_client_secret*string
oauth_refresh_token*string
platform*string
Fields with value "simple" parse as Kind::Simple. Fields with value "fancy" parse as Kind::SoFancy.
Value in
"Google" | "Microsoft"Response Body
application/json
curl -X PATCH "https://api.meetingbaas.com/calendars/string" \ -H "Content-Type: application/json" \ -d '{ "oauth_client_id": "string", "oauth_client_secret": "string", "oauth_refresh_token": "string", "platform": "Google" }'{
"calendar": {
"email": "string",
"google_id": "string",
"name": "string",
"resource_id": "string",
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
}