lamindb.setup.logout

lamindb.setup.logout()

Log out the current user.

This deletes the ~/.lamin/current_user.env so that you’ll no longer be automatically authenticated in the environment.

It keeps a copy as ~/.lamin/user--<user_handle>.env so you can easily switch between user profiles.

See also

Logout via the CLI command lamin logout, see here.