Clear primary calendar
Clears the event list of the primary calendar
Function ClearMainCalendar(Val Token) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Returns: Map Of KeyAndValue - serialized JSON response from Google
1C:Enterprise/OneScript code example
Token = "ya29.a0AZYkNZiCaf3vW8I05cl_i6pLKCRWSjff1YhC7Yi0SgLO50zysjwrX_9QPi1WejmqgGdFjcbaOJKsPO3tvT7gB712mg1gxgxiL1pCUVthx...";
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
- Bash
- CMD/Bat
oint gcalendar ClearMainCalendar \
--token "***"
oint gcalendar ClearMainCalendar ^
--token "***"
Result
null