---
title: "Edit Class"
method: PATCH
path: "/api/classes/{class_id}"
tags: ["classes"]
---

# Edit Class

`PATCH /api/classes/{class_id}`

## Request

- Base URL: `https://api.scanforai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scanforai.com/api/classes/{class_id}`
- Auth: none declared

## Path parameters

- `class_id` string, required

## Query parameters

- `lang` string

## Headers

- `X-UI-Lang` string

## Request body

- ClassEdit
  - `name` string, nullable
  - `description` string, nullable
  - `ends` string, nullable
  - `require_text` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scanforai/apis/scanforai-api.md) · [All operations](https://skmtc.dev/scanforai/apis/scanforai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scanforai/apis/scanforai-api/revisions/ab5d27f4ae13?raw)
