Files
coder/docs/cli/coder_tokens_list.md
Kira Pilot a32169ccb5 feat: add flag to see all tokens if owner (#6227)
* added query for tokens by user id

* updated query args

* adding owner col

* fix request params

* update-golden-files

* added owners col to ls table output

* added ttoken translations

* prettier

* format table according to arg

* using slice.Contains

* refactored token state

* cleanup
2023-02-23 07:00:27 -08:00

645 B

coder tokens list

List tokens

Usage

coder tokens list [flags]

Flags

--all, -a

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

Default false

--column, -c

Columns to display in table output. Available columns: id, last used, expires at, created at, owner

Default [id,last used,expires at,created at]

--output, -o

Output format. Available formats: table, json

Default table