mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-18 00:45:06 +00:00
Use registration key instead of machine key
This commit is contained in:
parent
d32f6707f7
commit
2695d1527e
2 changed files with 5 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ Headscale server at `/swagger` for details.
|
|||
|
||||
```console
|
||||
curl -H "Authorization: Bearer <API_KEY>" \
|
||||
-d user=<USER> -d key=<KEY> \
|
||||
-d user=<USER> -d key=<REGISTRATION_KEY> \
|
||||
https://headscale.example.com/api/v1/node/register
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue