forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

deleteInstanceTeacherByUserId.ts6 lines, 312 bytesHistoryRawDownload
1import { client } from "../client";
2
3/** Manager+ only. The instance, its exams, sessions and roster are untouched. */
4export function deleteInstanceTeacherByUserId(instanceId: string, userId: string): Promise<void> {
5 return client<void>(`/instances/${instanceId}/teachers/${userId}`, { method: "DELETE" });
6}