mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-30 05:59:32 +02:00
41 lines
606 B
Markdown
41 lines
606 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 | Description |
|
|
|-|-|-|-|
|
|
| Token | --token | String | Token |
|
|
|
|
|
|
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
```bsl title="Code example"
|
|
|
|
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
|
```
|
|
|
|
|
|
|
|
```sh title="CLI command example"
|
|
|
|
oint gcalendar ClearMainCalendar --token %token%
|
|
|
|
```
|
|
|
|
```json title="Result"
|
|
""
|
|
|
|
```
|