Skip to content

Commit 4ecc7fd

Browse files
committed
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>
1 parent 6866aae commit 4ecc7fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,8 @@ It holds the capabilities specified in the request and can no longer be retrieve
13361336
13371337
``` jsonc
13381338
{
1339-
"id": "XXXX456CNTRL",
1340-
"key": "tskey-k123456CNTRL-abcdefghijklmnopqrstuvwxyz",
1339+
"id": "k123456CNTRL",
1340+
"key": "tskey-auth-k123456CNTRL-abcdefghijklmnopqrstuvwxyz",
13411341
"created": "2021-12-09T23:22:39Z",
13421342
"expires": "2022-03-09T23:22:39Z",
13431343
"revoked": "2022-03-12T23:22:39Z",
@@ -1348,9 +1348,9 @@ It holds the capabilities specified in the request and can no longer be retrieve
13481348
"ephemeral": false,
13491349
"preauthorized": false,
13501350
"tags": [ "tag:example" ]
1351-
}
13521351
}
13531352
}
1353+
}
13541354
}
13551355
```
13561356

0 commit comments

Comments
 (0)