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.a0AS3H6Nw6rTG3pFXv17ZLXkvuvtNl_DHHXbxe2yDRIB09Sq-BA7xPQj9V7OKAaAiHRZAsVqI0UD6026Q_3gklXjU-kam0kzFCe2adXI3lS...";
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
- Bash
- CMD/Bat
oint gcalendar ClearMainCalendar \
--token "***"
oint gcalendar ClearMainCalendar ^
--token "***"
Result
null