# coder tokens list

List tokens

Aliases:

* ls

## Usage [#usage]

```console
coder tokens list [flags]
```

## Options [#options]

### -a, --all [#-a---all]

|      |                   |
| ---- | ----------------- |
| Type | <code>bool</code> |

Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).

### --include-expired [#--include-expired]

|      |                   |
| ---- | ----------------- |
| Type | <code>bool</code> |

Include expired tokens in the output. By default, expired tokens are hidden.

### -c, --column [#-c---column]

|         |                                                                                        |
| ------- | -------------------------------------------------------------------------------------- |
| Type    | <code>\[id\|name\|scopes\|allow list\|last used\|expires at\|created at\|owner]</code> |
| Default | <code>id,name,scopes,allow list,last used,expires at,created at</code>                 |

Columns to display in table output.

### -o, --output [#-o---output]

|         |                          |
| ------- | ------------------------ |
| Type    | <code>table\|json</code> |
| Default | <code>table</code>       |

Output format.
