1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Calendar/Calendar-metadata-management/Clear-main-calendar.mdx
T
Vitaly the Alpaca (bot) 294bd2e77c Main build (Jenkins)
2024-10-15 10:50:56 +03:00

39 lines
671 B
Plaintext

---
sidebar_position: 4
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Clear primary calendar
Clears the event list of the primary calendar
`Function ClearMainCalendar(Val Token) Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
```bsl title="Code example"
Token = "ya29.a0AcM612zdAe2M8Ywdxt7xmK1VAAj2m3yjTdP1Ap8cFmqbE8lVngjIAujPtjc_c94MCuKNLfn7MSssBd6NfMXDQDrHMUv7Fgjp7cjuXk68n...";
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
```
```json title="Result"
null
```