---
title: "Delete Teacher Course"
method: DELETE
path: "/teacher/courses/{course_id}"
tags: ["Teacher Courses"]
---

# Delete Teacher Course

`DELETE /teacher/courses/{course_id}`

Delete a teacher course and all its related data.
Only allows deletion of courses that belong to the authenticated teacher
and are marked as teacher courses.

Deletes:
- The course document
- Related flashcards
- Related QCMs
- TeacherCourseAssignment records

## Path parameters

- `course_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/ef67479ed898/schema)
