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.a0ARW5m7702-Ib_bOq69krqD5iUx89SC2lxGPxRJoBjqvSBqE7uKghOyAjwrL7ebNf6xqPzwD4wQfZlFvBrb7QsWlw5PGW_SvkFr57Y8Js...";
Calendar = "35e16313ea8eb86838be4408e9ebe8797c14e8b6e54a633ac7580fcbac4a51f6@group.calendar.google.com";
Result = OPI_GoogleCalendar.DeleteCalendarFromList(Token, Calendar);
- Bash
- CMD/Bat
oint gcalendar DeleteCalendarFromList \
--token "***" \
--calendar "fb73fc4b6eba9e27c8c1feeb66a66e2d80659bc92c38f1479d3731e2aac5bf6a@group.calendar.google.com"
oint gcalendar DeleteCalendarFromList ^
--token "***" ^
--calendar "fb73fc4b6eba9e27c8c1feeb66a66e2d80659bc92c38f1479d3731e2aac5bf6a@group.calendar.google.com"
Result
null