Admin - Holiday Courses

Delete Chapitre

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

  • All HolidayCourseSubChapitre documents linked to this chapitre

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/chapitres/{chapitre_id}

Path parameters

chapitre_idstring required

The ID of the holiday course chapitre to delete

The ID of the holiday course chapitre to delete

Response

Successful Response

messagestring required
successboolean required

Changes