---
title: "Clear Unused Single Use Codes"
method: DELETE
path: "/teacher/classes/{class_id}/single-use-codes"
tags: ["Teacher"]
---

# Clear Unused Single Use Codes

`DELETE /teacher/classes/{class_id}/single-use-codes`

Clear all unused single-use codes for a class.

## Path parameters

- `class_id` string, required

## 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/c407f3b5a05b/schema)
