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

# Update Chapitre

`PUT /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`)

Update an existing holiday course chapitre.
Only accessible by admin users.

## Path parameters

- `chapitre_id` string, required: The ID of the holiday course chapitre to update

## Request body

- ChapitreUpdate: Request model for updating a holiday course chapitre
  - `name` string, nullable
  - `order` integer, nullable

## Response `200`

Successful Response

- ChapitreResponse: Response model for holiday course chapitre
  - `id` string, required
  - `name` string, required
  - `classe_id` string, required
  - `order` integer, required
  - `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)
