Delete calendar
Deletes a calendar by ID
Function DeleteCalendar(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.a0AS3H6Nw6rTG3pFXv17ZLXkvuvtNl_DHHXbxe2yDRIB09Sq-BA7xPQj9V7OKAaAiHRZAsVqI0UD6026Q_3gklXjU-kam0kzFCe2adXI3lS...";
Calendar = "b4cd7b78fa45f2448bc045fe33639a9322a4851ff48d6eaa6dfbc2f95a6410d5@group.calendar.google.com";
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
- Bash
- CMD/Bat
oint gcalendar DeleteCalendar \
--token "***" \
--calendar "71f75db8bf9c75c25f264964b3af33cf6d655047017e7bc54cf74ab33dc9b704@group.calendar.google.com"
oint gcalendar DeleteCalendar ^
--token "***" ^
--calendar "71f75db8bf9c75c25f264964b3af33cf6d655047017e7bc54cf74ab33dc9b704@group.calendar.google.com"
Result
null