Enode — API Reference
    Preparing search index...
    • Delete the account with the emailed code, then end the session with the matching notice. Throws (nothing deleted, session kept) when deleteAccount rejects, e.g. on a wrong code.

      Parameters

      • email: string

        the signed-in user's email.

      • code: string

        the 6-digit code from the email.

      • ending: "self" | "owner"
      • organisationName: string | null

        passed on to the welcome notice.

      Returns Promise<void>