Forget Google Calendar settings
/api/settings/google-calendarRemove the key, the calendar ID and what Check found, and turn Keep Google updated off. Nothing on Google is changed.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/api/settings/google-calendar"{ "keyStored": true, "address": null, "projectId": null, "calendarId": null, "check": null, "limitedUntil": null, "links": null, "sending": false, "removing": false, "canSend": false}Get Google Calendar settings GET
The Google Calendar connection: Modbot's Google address, the calendar, what the last Check found, and the calendar's public links when it is public. The key is never returned. Needs the `ManageSettings` permission.
Update Google Calendar settings PUT
Save the Google service account's key file, the calendar ID, Keep Google updated, or any of them. Only the key file's address, key id, project and private key are kept, the private key encrypted. Saving the key or the calendar clears what the last Check found. Keep Google updated on needs a Check that passed; off leaves the events on Google as they are. A body over 64 KB is refused with 413. Needs the `ManageSettings` permission.