Delete events

Delete events in bulk. Provide ids, or explicitly set include to false to delete every event matching the query filters (and every event outright when no filters are given); an empty body is rejected. Events synced from eSPACE are skipped. Set parent to true to also delete the entire repeating series of each selected event.

Required permission: Full Write Events

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Returns events where the name contains the given text.

string

Comma-delimited list of calendar ids. Values come from /api/calendars.

string

Comma-delimited list of campus ids. Use -1 to include events without a campus. Values come from /api/locations.

string

Free text search across event content.

Body Params

Details on what to delete.

ids
array of doubles | null

The ids the operation applies to: an include list by default, or an exclude list when include is false. For deletes, required unless include is false.

ids
boolean | null

Whether ids is an include list (true, default) or an exclude list (false). Setting include to false with no ids applies the operation to every record matching the query filters.

boolean | null

When true, deletes the entire repeating series (the parent and all of its occurrences) of each selected event.

Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!