---
title: "Validate Custom School"
method: PATCH
path: "/admin/teachers/{teacher_id}/validate-custom-school"
tags: ["admin"]
---

# Validate Custom School

`PATCH /admin/teachers/{teacher_id}/validate-custom-school`

Validate a teacher's custom school entry and optionally add it to the schools database.

## Path parameters

- `teacher_id` string, required

## Request body

- ValidateCustomSchoolRequest — Request model for validating a custom school.
  - `school_name` string, required
  - `city` string, required
  - `uai` string, nullable
  - `add_to_database` boolean

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