---
title: "Update Correction Requirement"
method: PUT
path: "/teacher/correction-preferences/requirements/{requirement_id}"
tags: ["teacher_correction_preferences"]
---

# Update Correction Requirement

`PUT /teacher/correction-preferences/requirements/{requirement_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/teacher/correction-preferences/requirements/{requirement_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

Update a requirement. What it governs is left as it is: this client
cannot show categories, so an edit from it must not reset what the
teacher chose in the settings list (EXC-969). Passing the current
categories also keeps a changed text from being classified again, which
this client never did.

## Path parameters

- `requirement_id` string, required

## Request body

- CorrectionRequirementUpdate
  - `name` string, nullable
  - `prompt_text` string, nullable
  - `active_grades` string[], nullable
  - `is_active` boolean, nullable

## Response `200`

Successful Response

- CorrectionRequirementResponse
  - `id` string, required
  - `name` string, required
  - `prompt_text` string, required
  - `active_grades` string[]
  - `is_active` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `evicted_statements` string[]

## Other responses

- `404`: Resource not found
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-09-30** `518c1e6178a3`: 2 info
  - added the non-success response with the status `404`
  - added the optional property `evicted_statements` to the response with the `200` status

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/teacher/correction-preferences/requirements/:requirement_id/put.md)

---

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