You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
43 lines
906 B
Markdown
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"
|
|
""
|
|
```
|