supertokens-node
Version:
NodeJS driver for SuperTokens core
18 lines (17 loc) • 436 B
TypeScript
// @ts-nocheck
import { APIInterface, APIOptions } from "../../types";
import { UserContext } from "../../../../types";
export type Response =
| {
status: "OK";
didExist: boolean;
}
| {
status: "CANNOT_DELETE_PUBLIC_TENANT_ERROR";
};
export default function deleteTenant(
_: APIInterface,
tenantId: string,
__: APIOptions,
userContext: UserContext
): Promise<Response>;