Logout from the Sama CLI is easily done by running the command sama logout

Name:
   logout

Description:
    logout of the CLI

Usage:
    sama logout [flags]

Flags:
    -h, --help   help for logout

Step 1: Open your terminal and run the command sama loout

This command will also show you a log-out message in the browser