Delete a single event

Permanently deletes a single event from your school's system.

What this endpoint does:

  • Permanently removes the event from the database
  • Automatically removes all student and professor associations
  • Sends deletion notifications to affected students
  • Cannot be undone once completed

Automatic behaviors:

  • Cascade deletion: All relationships (students, professors) are automatically removed
  • Smart notifications: Students receive push notifications only for events happening within 14 days
  • Notification content: Students get notified with event name, date, and time
  • Error handling: If the event doesn't exist, the operation fails gracefully

Use cases:

  • Removing cancelled events
  • Cleaning up duplicate or incorrect events
  • Bulk cleanup operations (though consider using mass delete for better performance)

⚠️ Warning: This operation cannot be undone. The event and all its data will be permanently lost.

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!