Delete one of my events (it goes to Trash and can be restored)
connections_event_deleteUse this when the member asks to delete, remove, get rid of or clean up one of their own hosted events by id ('delete my test events', 'remove that draft'). The event goes to the member's Trash with every date of its series and its guest list, and connections_event_restore brings it back exactly as it was, by the same id, for as long as the member's plan keeps deletions restorable (connections_storage_list_trash shows each item's last day). Only the event's owner can delete it; a co-host cannot. An event that still holds paid tickets is not deleted until it is canceled (connections_event_cancel refunds them). A published event's page stops working at once and the guests are not messaged, so for a real event people were coming to, cancel it instead, which tells visitors it was canceled. ALWAYS call it with dry_run:true first: it names the event and how many guests it has, and you confirm with the member before calling it again for real. To delete several, call it once per event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | No | Linked person to run this call as (first name). Omit to run as the connection's holder. | |
| dry_run | No | true = name the event and its guests, and delete nothing. Always do this first and confirm with the member. | |
| project | No | Workspace to run this call in (id or name). | |
| event_id | Yes | The id of the member's own event (find it with connections_events_list). |