Update docs for auth-id changes
- Replace "headscale nodes register" with "headscale auth register" - Update from registration key to Auth ID - Fix API example to register a node
This commit is contained in:
parent
acddd73183
commit
9baa795ddb
9 changed files with 22 additions and 21 deletions
|
|
@ -54,8 +54,8 @@ Headscale server at `/swagger` for details.
|
|||
|
||||
```console
|
||||
curl -H "Authorization: Bearer <API_KEY>" \
|
||||
-d user=<USER> -d key=<REGISTRATION_KEY> \
|
||||
https://headscale.example.com/api/v1/node/register
|
||||
--json '{"user": "<USER>", "authId": "AUTH_ID>"}' \
|
||||
https://headscale.example.com/api/v1/auth/register
|
||||
```
|
||||
|
||||
## gRPC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue