---
title: "Update Exercise Solution Latex Content"
method: PUT
path: "/teacher-exams/{exam_id}/subjects/exercises/{exercise_id}/edit-latex-solution"
tags: ["Teacher Exams Subjects"]
---

# Update Exercise Solution Latex Content

`PUT /teacher-exams/{exam_id}/subjects/exercises/{exercise_id}/edit-latex-solution`

## 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/teacher-exams/{exam_id}/subjects/exercises/{exercise_id}/edit-latex-solution`
- Auth: OAuth 2 (password, token URL `api/login`)

Update exercise solution content directly (legacy LaTeX edit alias).

## Path parameters

- `exam_id` string, required
- `exercise_id` integer, required

## Request body

- UpdateExerciseSolutionLatexContentRequest
  - `solution` string, required

## Response `200`

Successful Response

- object

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