@cpod/sdk - v0.2.7
    Preparing search index...

    Function deleteAccount

    • Delete the current user's account

      Returns Promise<UserSimpleResponse>

      Confirmation of deletion

      401 - Not authenticated

      import { deleteAccount } from "@cpod/sdk";

      // Permanently delete the current user's account
      const result = await deleteAccount();
      console.log(result.message); // "Account deleted successfully"