Skip to content

Delete an Event

DELETE
/api/v1/calendar/events/{id}
curl --request DELETE \
--url https://example.com/api/v1/calendar/events/example \
--header 'Authorization: Bearer <token>'

Requires a signed-in User. It deletes the Event from the provider and updates the cached Calendar. It returns 409 with the latest Event when the provider copy changed. Route: /api/v1/calendar/events/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.

id
required
string
Media typeapplication/json
object
error
required

The error object inside the API error envelope.

object
code
required

Stable machine-readable code.

string
Allowed values: bad_request unauthorized forbidden not_found conflict name_conflict_case name_too_long push_endpoint_rejected too_many_requests internal service_unavailable
details
One of:

Optional field or operation details.

object
key
additional properties
string
message
required

Safe text for logs or a user-facing error message.

string
latest
required
object
event
required
object
all_day
required
boolean
calendar_id
required
string
end
string | null
etag
required
string
id
required
string
location
string | null
start
string | null
summary
required
string
tags
required
Array<string>
timezone
string | null
uid
string | null
updated_at
required
string
icalendar
required
string
Example
{
"error": {
"code": "bad_request"
}
}
Media typeapplication/json

The standard API error response: { "error": { ... } }.

object
error
required

Error details.

object
code
required

Stable machine-readable code.

string
Allowed values: bad_request unauthorized forbidden not_found conflict name_conflict_case name_too_long push_endpoint_rejected too_many_requests internal service_unavailable
details
One of:

Optional field or operation details.

object
key
additional properties
string
message
required

Safe text for logs or a user-facing error message.

string
Example
{
"error": {
"code": "bad_request"
}
}