Delete local Calendar Item via REST API

I’ve managed to create calendar items via a REST POST call to /api/services/calendar/create_event passing a suitable JSON body, but I’m struggling to delete the item.
I can get the uid by doing a GET, but when I pass:
“entity_id”: “calendar.automation”,
“uid”: “037308bc-a732-11ee-8e62-00155d2e780f”
to /api/services/calendar/delete_event I get a 400 response Bad Request response.

Has anyone managed to get this to work?

1 Like