Skip to content
Docs

inquir logout

Clear the saved device token and workspace selection.

@inquir/compute-cliv0.3.0 · Node.js 22+

Usage#

inquir logoutbash
inquir logout [options]

Options#

OptionDescription
--env <name>Use a named CLI credential environment.

Global flags, environments and CLI credentials

Examples#

Example 1bash
inquir logout
Example 2bash
inquir logout --env staging

Behavior#

This clears the stored token, user and active workspace. It does not revoke a token on the server or remove a legacy apiKey setting.

Guides#