api: document preauthorized auth keys

Fixes #2120

Change-Id: If6a803680b544df1f70449c26fd0f5e15940226b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2022-02-17 14:13:50 -08:00 committed by Brad Fitzpatrick
parent fbff1555fc
commit dd6472d4e8
1 changed files with 6 additions and 1 deletions

7
api.md
View File

@ -317,9 +317,14 @@ Allows for updating properties on the device key.
- Provide `false` to enable the device's key expiry. Sets the key to expire at the original expiry time prior to disabling. The key may already have expired. In that case, the device must be re-authenticated.
- Empty value will not change the key expiry.
`preauthorized`
- If `true`, don't require machine authorization (if enabled on the tailnet)
```
{
"keyExpiryDisabled": true
"keyExpiryDisabled": true,
"preauthorized": true
}
```