feat(cli): support deleting tokens by id (#16341)

Since API keys can be created without a name, and we already perform the
deletion by ID, it makes sense to be able to delete tokens with *just*
the ID.
This commit is contained in:
Ethan
2025-02-12 18:18:17 +11:00
committed by GitHub
parent 25d256e7e0
commit 5ec385b36b
4 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -11,5 +11,5 @@ Aliases:
## Usage
```console
coder tokens remove <name>
coder tokens remove <name|id|token>
```