Files
coder/docs/reference/cli/tokens_list.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
919 B
Markdown
Raw Normal View History

2023-03-23 17:42:20 -05:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
# tokens list
List tokens
Aliases:
* ls
2023-03-23 17:42:20 -05:00
## Usage
```console
coder tokens list [flags]
```
## Options
### -a, --all
| | |
|------|-------------------|
2023-03-23 17:42:20 -05:00
| Type | <code>bool</code> |
Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).
### -c, --column
2024-08-20 14:47:46 +10:00
| | |
|---------|-------------------------------------------------------------------|
2024-08-20 14:47:46 +10:00
| Type | <code>[id\|name\|last used\|expires at\|created at\|owner]</code> |
| Default | <code>id,name,last used,expires at,created at</code> |
2023-03-23 17:42:20 -05:00
2024-08-20 14:47:46 +10:00
Columns to display in table output.
2023-03-23 17:42:20 -05:00
### -o, --output
2024-08-20 14:47:46 +10:00
| | |
|---------|--------------------------|
2024-08-20 14:47:46 +10:00
| Type | <code>table\|json</code> |
| Default | <code>table</code> |
2023-03-23 17:42:20 -05:00
2024-08-20 14:47:46 +10:00
Output format.