import { client } from "../client"; export type SchoolAdminPasswordBody = { username: string; password: string; }; // Re-keys an admin of that school and revokes every session the account held. export function postSchoolAdminPassword(slug: string, body: SchoolAdminPasswordBody): Promise { return client(`/schools/${encodeURIComponent(slug)}/admin-password`, { method: "POST", body }); }