api.md: update example auth key value
example was missing the "-auth" type in the key prefix, which all new keys now contain. Also update key ID to match the full key, and fix indenting of closing braces. Signed-off-by: Will Norris <will@tailscale.com>pull/7879/head
parent
6866aaeab3
commit
4ecc7fdf5f
6
api.md
6
api.md
|
@ -1336,8 +1336,8 @@ It holds the capabilities specified in the request and can no longer be retrieve
|
||||||
|
|
||||||
``` jsonc
|
``` jsonc
|
||||||
{
|
{
|
||||||
"id": "XXXX456CNTRL",
|
"id": "k123456CNTRL",
|
||||||
"key": "tskey-k123456CNTRL-abcdefghijklmnopqrstuvwxyz",
|
"key": "tskey-auth-k123456CNTRL-abcdefghijklmnopqrstuvwxyz",
|
||||||
"created": "2021-12-09T23:22:39Z",
|
"created": "2021-12-09T23:22:39Z",
|
||||||
"expires": "2022-03-09T23:22:39Z",
|
"expires": "2022-03-09T23:22:39Z",
|
||||||
"revoked": "2022-03-12T23:22:39Z",
|
"revoked": "2022-03-12T23:22:39Z",
|
||||||
|
@ -1348,9 +1348,9 @@ It holds the capabilities specified in the request and can no longer be retrieve
|
||||||
"ephemeral": false,
|
"ephemeral": false,
|
||||||
"preauthorized": false,
|
"preauthorized": false,
|
||||||
"tags": [ "tag:example" ]
|
"tags": [ "tag:example" ]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue