Admin - Holiday Courses

Delete Classe

Delete a holiday course classe and all its associated data. This performs cascading deletion of:

  • All HolidayCourseChapitre documents linked to this classe
  • All HolidayCourseSubChapitre documents linked to those chapitres

TODO: Implement cascading deletion for:

  • HolidayCourseExerciseLink documents linked to sub-chapitres
  • HolidayCourseExercise documents (if not shared)
  • Course content (if source_type="holiday_workbook" and not shared elsewhere)

Only accessible by admin users.

delete/admin/holiday-courses/classes/{classe_id}

Path parameters

classe_idstring required

The ID of the holiday course classe to delete

The ID of the holiday course classe to delete

Response

Successful Response

messagestring required
successboolean required

Changes