Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add
  • Loading branch information
BrunoQuaresma committed Feb 1, 2023
commit 3f94033fac96db8b9bf083d5c7e554be2df68da3
4 changes: 2 additions & 2 deletions docs/api/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,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: *****'
```