---
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}`

## 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/subchapitres/{sub_chapitre_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

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/379e4a57dee8?raw)
