Files
coder/docs/api/authentication.md
Marcin Tojek 925b29836c docs: improve authentication page (#5567)
* docs: improve authentication page

* Update docs/admin/automation.md

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>

* Update docs/admin/automation.md

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>

* Fix

* Fix

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
2023-01-04 10:14:47 -08:00

333 B

Authentication

Long-lived tokens can be generated to perform actions on behalf of your user account:

coder tokens create

You can use tokens with the Coder's REST API using the Coder-Session-Token HTTP header.

curl 'http://coder-server:8080/api/v2/workspaces' \
  -H 'Coder-Session-Token: *****'