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

# Delete Chapitre

`DELETE /admin/holiday-courses/chapitres/{chapitre_id}`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/admin/holiday-courses/chapitres/{chapitre_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

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.

## Path parameters

- `chapitre_id` string, required: The ID of the holiday course 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/379e4a57dee8?raw)
