You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
43 lines
918 B
Plaintext
43 lines
918 B
Plaintext
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
|
|
---
|
|
sidebar_position: 7
|
|
---
|
|
|
|
# Delete event
|
|
Deletes an event by ID
|
|
|
|
|
|
|
|
`Function DeleteEvent(Val Token, Val Calendar, Val Event) Export`
|
|
|
|
| Parameter | CLI option | Type | Description |
|
|
|-|-|-|-|
|
|
| Token | --token | String | Token |
|
|
| Calendar | --calendar | String | Calendar ID |
|
|
| Event | --event | String | Event ID |
|
|
|
|
|
|
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
```bsl title="Code example"
|
|
Token = "ya29.a0AcM612zdAe2M8Ywdxt7xmK1VAAj2m3yjTdP1Ap8cFmqbE8lVngjIAujPtjc_c94MCuKNLfn7MSssBd6NfMXDQDrHMUv7Fgjp7cjuXk68n...";
|
|
Calendar = "2cd4d2b5dc7a898d4f1d65956b5ccca32841aff4a1603b373ff14db442ac9fab@group.calendar.google.com";
|
|
Event = "33cn8ioc097i92k9i37mvpbj50";
|
|
|
|
Result = OPI_GoogleCalendar.DeleteEvent(Token, Calendar, Event);
|
|
```
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
|
null
|
|
```
|