forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

deleteAcademicYearById.ts6 lines, 266 bytesHistoryRawDownload
1import { client } from "../client";
2
3/** 409 while any şube or dönem still links it. An archived year cannot be deleted. */
4export function deleteAcademicYearById(id: string): Promise<void> {
5 return client<void>(`/academic-years/${id}`, { method: "DELETE" });
6}