Enode — API Reference
    Preparing search index...
    • Leave the organisation with the emailed code, then end the session (finishLeaving). Throws (nothing left, session kept) when leaveOrganisation rejects, e.g. on a wrong code.

      Parameters

      • email: string
      • code: string
      • organisationName: string | null

      Returns Promise<void>