1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-25 02:42:28 +02:00
OpenIntegrations/docs/en/md/Google_Calendar/Calendar-metadata-management/Clear-main-calendar.md
2024-06-06 15:33:52 +03:00

40 lines
589 B
Markdown

---
sidebar_position: 4
---
# Clear primary calendar
Clears the event list of the primary calendar
*Function ClearMainCalendar(Val Token) Export*
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
```
```sh title="CLI command example"
oint gcalendar ClearMainCalendar --token %token%
```
```json title="Result"
""
```