forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

deleteInstanceEnrollmentByUserId.ts6 lines, 325 bytesHistoryRawDownload
1import { client } from "../client";
2
3/** Existing exam results are kept — they leave the marks report until re-enrolled. */
4export function deleteInstanceEnrollmentByUserId(instanceId: string, userId: string): Promise<void> {
5 return client<void>(`/instances/${instanceId}/enrollments/${userId}`, { method: "DELETE" });
6}