forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

deleteSchool.ts6 lines, 239 bytesHistoryRawDownload
1import { client } from "../client";
2
3// Destroys the school's data and uploaded files for good.
4export function deleteSchool(id: string): Promise<void> {
5 return client<void>(`/schools/${encodeURIComponent(id)}`, { method: "DELETE" });
6}