From d0b7a44840416372329a46ad9d627a9f100811bc Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Wed, 19 Oct 2022 09:36:08 -0700 Subject: [PATCH] api.md: add expirySeconds as parameter to post Tailnet keys Updates #4570 Signed-off-by: Maisem Ali --- api.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api.md b/api.md index 9be8eae02..8ee28f91f 100644 --- a/api.md +++ b/api.md @@ -820,6 +820,10 @@ Supply the tailnet in the path. ###### POST Body `capabilities` - A mapping of resources to permissible actions. + +`expirySeconds` - (Optional) How long the key is valid for in seconds. + Defaults to 90d. + ``` { "capabilities": { @@ -833,7 +837,8 @@ Supply the tailnet in the path. ] } } - } + }, + "expirySeconds": 1440 } ```