Authentication commands

Commands for authenticating with the Knock CLI.

#

The authentication commands enable you to log in and out of your Knock account via the CLI.

knock login

#

You can log in to your Knock account with the login command. This will open a browser window where you can sign in to your Knock account and authorize the CLI to access your account.

knock logout

#

You can log out of your Knock account with the logout command. This will clear the authentication token for the CLI.

New chat