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

# Update Sub Chapitre

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

Update an existing holiday course sub-chapitre.
This endpoint allows admin to manually set or change course_content_id if needed.
Only accessible by admin users.

## Path parameters

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

## Request body

- SubChapitreUpdate — Request model for updating a holiday course sub-chapitre
  - `name` string, nullable
  - `description` string, nullable
  - `order` integer, nullable
  - `course_content_id` string, nullable

## Response `200`

Successful Response

- SubChapitreResponse — Response model for holiday course sub-chapitre
  - `id` string, required
  - `name` string, required
  - `chapitre_id` string, required
  - `order` integer, required
  - `description` string, nullable
  - `course_content_id` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, 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/05e048df94c6?raw)
