Files
coder/docs/cli/tokens_list.md
2023-03-23 17:42:20 -05:00

44 lines
951 B
Markdown

<!-- DO NOT EDIT | GENERATED CONTENT -->
# tokens list
List tokens
Aliases:
- ls
## Usage
```console
coder tokens list [flags]
```
## Options
### -a, --all
| | |
| ---- | ----------------- |
| Type | <code>bool</code> |
Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).
### -c, --column
| | |
| ------- | ---------------------------------------------------- |
| Type | <code>string-array</code> |
| Default | <code>id,name,last used,expires at,created at</code> |
Columns to display in table output. Available columns: id, name, last used, expires at, created at, owner.
### -o, --output
| | |
| ------- | ------------------- |
| Type | <code>string</code> |
| Default | <code>table</code> |
Output format. Available formats: table, json.