SnozeDevelopers
API referenceCalendar

Delete a calendar event

Marks the event cancelled and soft-deletes it, then queues the deletion on the linked provider calendar, forwarding `recurrenceScope` (the whole series by default) and `occurrenceStart` so the provider drops the right occurrences. The caller needs edit access to the event's item. Returns a not-found error for an unknown event, a conflict when `expectedRevision` is stale, and a validation error for database-backed events, which are removed by clearing their source date field instead. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

DELETE
/v1/workspaces/{workspaceId}/calendar/events/{eventId}

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
eventId*string

Request Body

application/json
  1. body
expectedRevision*number
recurrenceScope?|null
occurrenceStart?string|null

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/calendar/events/string' \  -H 'Content-Type: application/json' \  -d '{  "expectedRevision": 0}'
Example Response
{  "data": {    "id": "string"  }}