From 46cb9d98a35ce47e95a1a4c6579e205e029d90f2 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 5 May 2022 11:58:02 -0700 Subject: [PATCH] api.md: update GET tailnet key detail docs to show preauthorized, tags Fixes #4571 Change-Id: If81471d0d8cb2f659736991ad8612aed2efc174e Signed-off-by: Brad Fitzpatrick --- api.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/api.md b/api.md index 141c62850..0ae7ffbe5 100644 --- a/api.md +++ b/api.md @@ -889,10 +889,22 @@ curl 'https://api.tailscale.com/api/v2/tailnet/example.com/keys/k123456CNTRL' \ Response: ``` { - "id": "k123456CNTRL", - "created": "2021-12-09T22:13:53Z", - "expires": "2022-03-09T22:13:53Z", - "capabilities": {"devices": {"create": {"reusable": false, "ephemeral": false}}} + "id": "k123456CNTRL", + "created": "2022-05-05T18:55:44Z", + "expires": "2022-08-03T18:55:44Z", + "capabilities": { + "devices": { + "create": { + "reusable": false, + "ephemeral": true, + "preauthorized": false, + "tags": [ + "tag:bar", + "tag:foo" + ] + } + } + } } ```