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

## Changes

- **2026-09-02** `36dba1c77613` — 1 info
  - for the `query` request parameter `staffNameId`, the format was generalized from `int32` to `int64`

[Change history](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/changes/reports/reallocation/switch/patch.md)

---

[API](https://skmtc.dev/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/revisions/a434e248333a/schema)
