Admin - Holiday Courses

Delete Sub Chapitre

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

  • All HolidayCourseExerciseLink documents linked to this sub-chapitre

TODO: Implement full cascading deletion for:

  • HolidayCourseExercise documents (if not shared with other sub-chapitres)
  • Course content cleanup (if course_content_id exists, source_type="holiday_workbook", and not referenced by other SubChapitres - delete Course, Units, Flashcards, QCMs)

Only accessible by admin users.

delete/admin/holiday-courses/subchapitres/{sub_chapitre_id}

Path parameters

sub_chapitre_idstring required

The ID of the holiday course sub-chapitre to delete

The ID of the holiday course sub-chapitre to delete

Response

Successful Response

messagestring required
successboolean required

Changes