Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Usage

envless logout

Calls /internal/cli-auth/logout to revoke the session server-side, then removes ~/.envless/config.json from disk. After this, the token is no longer accepted by the API — even if it was leaked.

$ envless logout
 Signed out jane@acme.dev

Not signed in

If no session is stored locally, logout is a no-op and exits 0.

$ envless logout
[logout] Not signed in. Nothing to do.

Offline behavior

The local config is cleared even if the server-side revoke call fails (e.g. you’re offline). The token itself stays valid on the server until a successful revoke reaches it — if that matters, run logout again once connectivity returns, or revoke the session from the dashboard.

Switching accounts

Run logout before login when changing users — envless login refuses to overwrite an active session.

envless logout
envless login