Remove calendar from list
Removes a calendar from the user's list
Function DeleteCalendarFromList(Val Token, Val Calendar) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Calendar | --calendar | String | ✔ | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
1C:Enterprise/OneScript code example
Token = "ya29.a0AXeO80QmRD8H3PJ7Q4W_FrA0bUXT3qbvoufjrR5yC_gGUX-q8hpGM_XhHS1OMwb9Q7jPt-2h_AXtmWA2G27GIhpl6szrH7zn4IyFnnDp1...";
Calendar = "37a35af2f6c73c2d5ce643b8f2e2f887893a19f96cbc2df7de6190f86c1bad91@group.calendar.google.com";
Result = OPI_GoogleCalendar.DeleteCalendarFromList(Token, Calendar);
- Bash
- CMD/Bat
oint gcalendar DeleteCalendarFromList \
--token "***" \
--calendar "86fa9c73eec2037c4772e48b172e7b1e9c32d1aca22462299cdc7fb21e662958@group.calendar.google.com"
oint gcalendar DeleteCalendarFromList ^
--token "***" ^
--calendar "86fa9c73eec2037c4772e48b172e7b1e9c32d1aca22462299cdc7fb21e662958@group.calendar.google.com"
Result
null