1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-21 01:50:24 +02:00
OpenIntegrations/docs/en/md/Google_Calendar/Event-management/Delete-event.md

43 lines
812 B
Markdown
Raw Normal View History

---
sidebar_position: 7
---
# Delete event
Deletes an event by ID
2024-07-10 12:58:29 +02:00
`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
2024-07-10 13:05:58 +02:00
<br/>
2024-07-10 12:58:29 +02:00
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar DeleteEvent --token %token% --calendar %calendar% --event %event%
```
```json title="Result"
2024-07-10 13:11:17 +02:00
""
```