supertokens-node
Version:
NodeJS driver for SuperTokens core
10 lines (9 loc) • 307 B
TypeScript
// @ts-nocheck
import { APIFunction } from "../../types";
export type Response = {
status: "OK";
didExist: boolean;
} | {
status: "CANNOT_DELETE_PUBLIC_TENANT_ERROR";
};
export default function deleteTenant({ stInstance, tenantId, userContext, }: Parameters<APIFunction>[0]): Promise<Response>;