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.a0AeDClZCuUGv3lVO8dyhcLNhY08vE-ingztWRKkv-QAvcs9f6z1x0StyUs2M2YRgdoHDpUUEeBm5wAfquh5Z2_afLxDoqTIrStzOWxDL66...";
Calendar = "2b27a0d8595a5f3da2e0a28bd781066b5f1e7243e7b902f682cf9b39fd97e257@group.calendar.google.com";
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
- Bash
- CMD/Bat
oint gcalendar DeleteCalendar \
--token "***" \
--calendar "b7e551a60ae28c9276e7c28496e50a2f391ca5eedc1cffdb9bc672e328453911@group.calendar.google.com"
oint gcalendar DeleteCalendar ^
--token "***" ^
--calendar "b7e551a60ae28c9276e7c28496e50a2f391ca5eedc1cffdb9bc672e328453911@group.calendar.google.com"
Result
null