mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-18 23:48:56 +02:00
39 lines
544 B
Markdown
39 lines
544 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: Key-Value Pair - 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"
|
||
|
|
||
|
""
|
||
|
|
||
|
```
|