forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

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

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