mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
docs: Change console to shell and remove unused elements (#5960)
This commit is contained in:
@ -3,13 +3,13 @@
|
||||
|
||||
Long-lived tokens can be generated to perform actions on behalf of your user account:
|
||||
|
||||
```console
|
||||
```shell
|
||||
coder tokens create
|
||||
```
|
||||
|
||||
You can use tokens with the Coder's REST API using the `Coder-Session-Token` HTTP header.
|
||||
|
||||
```console
|
||||
```shell
|
||||
curl 'http://coder-server:8080/api/v2/workspaces' \
|
||||
-H 'Coder-Session-Token: *****'
|
||||
```
|
||||
|
Reference in New Issue
Block a user