---
title: "Delete Sub Chapitre"
method: DELETE
path: "/admin/holiday-courses/subchapitres/{sub_chapitre_id}"
tags: ["Admin - Holiday Courses"]
---

# Delete Sub Chapitre

`DELETE /admin/holiday-courses/subchapitres/{sub_chapitre_id}`

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.

## Path parameters

- `sub_chapitre_id` string, required — The ID of the holiday course sub-chapitre to delete

## Response `200`

Successful Response

- DeleteResponse — Response model for delete operations
  - `message` string, required
  - `success` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/2a0c1636fd3b?raw)
