1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Calendar/Calendar-metadata-management/Delete-calendar.md
T
Vitaly the Alpaca (bot) cdb37147d9 Main build (Jenkins)
2024-09-28 16:17:37 +03:00

43 lines
906 B
Markdown

---
sidebar_position: 5
---
# Delete calendar
Deletes a calendar by ID
`Function DeleteCalendar(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
```bsl title="Code example"
Token = "ya29.a0AcM612yhdixI9i7TxOgZIa9kwI5a42S4MfHVMdYZeolUKySbI7x1gtyAhGDlso57x7N6WNRpp9BZX0N3MQOcZEdR6lDciUHI4nof3u9xi...";
Calendar = "1b68863d126f9c4d9e971c673e25f6601a9622beafbcc10913cd78120c755c6a@group.calendar.google.com";
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
```
```sh title="CLI command example"
oint gcalendar DeleteCalendar --token %token% --calendar %calendar%
```
```json title="Result"
""
```