> ## Documentation Index
> Fetch the complete documentation index at: https://docs.octonote.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Account

> Sign in, pick a workspace, manage tokens.

```bash theme={null}
octonote login
octonote whoami
octonote account rename "Sam Lee"
octonote workspace use "Team"
```

## login

Sign in through the browser (or --paste a token from Settings → CLI & agents)

```bash theme={null}
octonote login [options]
```

| Argument or option | What it does |
| - | - |
| `--paste` | read a token from stdin instead of opening the browser |

## logout

Sign out here and revoke this computer's token

```bash theme={null}
octonote logout
```

## whoami

Who you're signed in as, and which workspace commands use

```bash theme={null}
octonote whoami
```

## account rename

Change your display name (shown in the app and as the author of pages you publish)

```bash theme={null}
octonote account rename <name>
```

| Argument or option | What it does |
| - | - |
| `<name>` | new display name, 1–80 characters (required) |

## workspace list

Workspaces you belong to

```bash theme={null}
octonote workspace list
```

## workspace use

Use this workspace from now on (id or exact name)

```bash theme={null}
octonote workspace use <workspace>
```

| Argument or option | What it does |
| - | - |
| `<workspace>` | workspace id or name (required) |

## token list

List your tokens

```bash theme={null}
octonote token list
```

## token revoke

Revoke a token

```bash theme={null}
octonote token revoke <id>
```

| Argument or option | What it does |
| - | - |
| `<id>` | token id (tok\_…) (required) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.