---
title: "Update Exercise"
method: PUT
path: "/mentor/exercises/{exercise_id}"
tags: ["Mentor Exercises"]
---

# Update Exercise

`PUT /mentor/exercises/{exercise_id}`

## Path parameters

- `exercise_id` string, required

## Request body

- ExerciseUpdate
  - `title` string, nullable
  - `description` string, nullable
  - `difficulty` string, nullable
  - `topic` string, nullable

## Response `200`

Successful Response

- unknown

## 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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/8d495ed916c6/schema)
