Skip to content
DevelopersTerminal

Account CLI reference


Connect, inspect, and revoke the operator identity used by CLI and MCP requests.

On this page

Use this page to inspect every public atoi account command, its accepted flags, and one runnable example. Return to the CLI reference index to choose another command group.

atoi accountConnect, inspect, and revoke the operator identity used by CLI and MCP requests.

CommandWhat it does
atoi account loginConnect this CLI to your Atoi account with browser authorization or an operator token.
atoi account statusCheck whether the stored operator credential still works.
atoi account logoutRevoke operator access and remove the local credential.

#account login

Connect this CLI to your Atoi account with browser authorization or an operator token.

atoi account login [--token <token>] [--non-interactive] [--client-name <name>] [--no-browser] [--timeout-ms <ms>]

FlagTypeDefaultValuesWhat it does
--tokenstringUse an operator token instead of browser authorization.
--non-interactivebooleanFail instead of opening an interactive authorization flow.
--client-namestringAtoi CLIName this CLI in the authorization request.
--browserbooleantrueOpen the authorization URL. Pass --no-browser to keep it in the terminal.
--timeout-msnumber600000Stop waiting for device authorization after this many milliseconds.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run account login

bash
atoi account login --client-name "Release terminal"

#account status

Check whether the stored operator credential still works.

atoi account status

FlagTypeDefaultValuesWhat it does
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run account status

bash
atoi account status --json

#account logout

Revoke operator access and remove the local credential.

atoi account logout [--local]

FlagTypeDefaultValuesWhat it does
--localbooleanfalseRemove only the local credential without asking Atoi to revoke it.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run account logout

bash
atoi account logout

Was this useful?