---
title: "Set Exercise Link As Default"
method: PUT
path: "/admin/holiday-courses/exercise-links/{link_id}/set-default"
tags: ["Admin - Holiday Courses"]
---

# Set Exercise Link As Default

`PUT /admin/holiday-courses/exercise-links/{link_id}/set-default`

Set a specific exercise link as the default for its sub-chapitre.

This operation:
1. Sets is_default_for_sub_chapitre = True for the specified link
2. Sets is_default_for_sub_chapitre = False for all other links to the same sub-chapitre

Only accessible by admin users.

## Path parameters

- `link_id` string, required — The ID of the exercise link to set as default

## 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)
