Files
coder/docs/reference/api/authentication.md
2024-08-13 18:39:46 +03:00

331 B
Generated

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: *****'