CH·02CLI reference
deeprelay logout
Revoke the CLI keys and remove stored credentials
Revoke the CLI keys and remove stored credentials
Synopsis
Deletes ~/.config/deeprelay/credentials.json. Idempotent — no error if file is absent.
Before deleting the file, logout revokes both CLI keys that deeprelay login created — the inference key and the login key. Revocation is best-effort: if the API cannot be reached, logout prints a warning on stderr, still removes the local file, and exits 0; revoke the leftover keys from the dashboard's API keys page. A credentials file from before the two-key login records no key ids, so logout only removes the file.
DEEPRELAY_API_KEY is not touched: if it is set, it still authenticates the next command.
deeprelay logout [flags]
Options
-h, --help help for logout
Options inherited from parent commands
--api-base string API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
--debug Enable debug logging to stderr
--no-preflight Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
-o, --output string Output format: table|json (default table on TTY, json otherwise) (default "table")
SEE ALSO
- deeprelay - deeprelay command-line interface