forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBd962efeBurak Boduroğlu4 months ago146 commits

deleteCourseEnrollmentByUserId.ts10 lines, 241 bytesHistoryRawDownload
1import { client } from "./client";
2
3export function deleteCourseEnrollmentByUserId(
4 courseId: string,
5 userId: string,
6): Promise<void> {
7 return client<void>(`/courses/${courseId}/enrollments/${userId}`, {
8 method: "DELETE",
9 });
10}