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.

50 lines
1.2 KiB
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).
### --include-expired
| | |
|------|-------------------|
| Type | <code>bool</code> |
Include expired tokens in the output. By default, expired tokens are hidden.
2023-03-23 17:42:20 -05:00
### -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> |
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.