forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

deleteCourseMemberByUserId.ts6 lines, 309 bytesHistoryRawDownload
1import { client } from "../client";
2
3/** Exam results and badges are untouched — the membership is a door, not a record. */
4export function deleteCourseMemberByUserId(courseId: string, userId: string): Promise<void> {
5 return client<void>(`/courses/${courseId}/members/${userId}`, { method: "DELETE" });
6}