forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

deleteExamAudienceByInstanceId.ts7 lines, 409 bytesHistoryRawDownload
1import { client } from "../client";
2import type { ExamAudience } from "../client";
3
4/** Withdraw the exam from one instance. Answers the audience left behind; the owner is not withdrawable (400). */
5export function deleteExamAudienceByInstanceId(examId: string, instanceId: string): Promise<ExamAudience[]> {
6 return client<ExamAudience[]>(`/exams/${examId}/audience/${instanceId}`, { method: "DELETE" });
7}