mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(docs): update docs for correct use of shell and console and enforce linewidth (#9245)
This commit is contained in:
Generated
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
Long-lived tokens can be generated to perform actions on behalf of your user account:
|
||||
|
||||
```console
|
||||
```shell
|
||||
coder tokens create
|
||||
```
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -4,13 +4,13 @@ Get started with the Coder API:
|
||||
|
||||
Generate a token on your Coder deployment by visiting:
|
||||
|
||||
```sh
|
||||
```shell
|
||||
https://coder.example.com/settings/tokens
|
||||
```
|
||||
|
||||
List your workspaces
|
||||
|
||||
```sh
|
||||
```shell
|
||||
# CLI
|
||||
curl https://coder.example.com/api/v2/workspaces?q=owner:me \
|
||||
-H "Coder-Session-Token: <your-token>"
|
||||
|
||||
Reference in New Issue
Block a user