---
title: "Unlink Exercise From Sub Chapitre"
method: DELETE
path: "/admin/holiday-courses/exercise-links/{link_id}"
tags: ["Admin - Holiday Courses"]
---

# Unlink Exercise From Sub Chapitre

`DELETE /admin/holiday-courses/exercise-links/{link_id}`

Unlink an exercise from a sub-chapitre by deleting the link record.

This removes the HolidayCourseExerciseLink document but does not delete
the actual exercise or sub-chapitre - only their association.

Only accessible by admin users.

## Path parameters

- `link_id` string, required — The ID of the exercise link 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)
