---
title: "Remove Teacher From School"
method: DELETE
path: "/admin/schools/{school_id}/teachers/{teacher_id}"
tags: ["Admin - Schools"]
---

# Remove Teacher From School

`DELETE /admin/schools/{school_id}/teachers/{teacher_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/admin/schools/{school_id}/teachers/{teacher_id}`
- Auth: OAuth 2 (password, token URL `api/login`)

Remove a teacher from a school by deactivating their membership.
Teachers with matching email domains cannot be removed this way.
Only accessible by admin users.

## Path parameters

- `school_id` string, required: The ID of the school
- `teacher_id` string, required: The ID of the teacher to remove

## Response `200`

Successful Response

- RemoveTeacherResponse: Response model for removing teacher from school
  - `message` string, required
  - `teacher_id` string, required
  - `membership_deactivated` boolean, required

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