---
title: "Switch the teacher for a single entry (legacy PATCH /reports/reallocation/switch)"
method: PATCH
path: "/reports/reallocation/switch"
tags: ["Reports"]
---

# Switch the teacher for a single entry (legacy PATCH /reports/reallocation/switch)

`PATCH /reports/reallocation/switch`

**Requires permission:** *ReportAdmins*

Sets one entry's StaffId (and optionally its entry name). Port of the legacy v2 PatchSwitchTeacher endpoint. StaffNameId carries the new MIS STAFF_ID.

## Query parameters

- `entryId` integer, required
- `staffNameId` integer, required
- `staffUpi` string, guid, nullable
- `entryName` string, nullable

## Response `204`

Success - Switched

## Other responses

- `400` — An Error Occurred - Could not switch teacher
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/28344aa564b4/schema)
