From f31d3f424c278f2f1d67c18596ff420ec865b6d5 Mon Sep 17 00:00:00 2001 From: Vardan Torosyan Date: Fri, 15 Nov 2024 14:45:48 +0100 Subject: [PATCH] Docs: Add secondsToLive to the SA HTTP API docs (#96518) * Docs: Add secondsToLive param to the SA HTTP API docs * Docs: Add secondsToLive param to the SA HTTP API docs --- docs/sources/developers/http_api/serviceaccount.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/sources/developers/http_api/serviceaccount.md b/docs/sources/developers/http_api/serviceaccount.md index 15e424cf151..680c3472647 100644 --- a/docs/sources/developers/http_api/serviceaccount.md +++ b/docs/sources/developers/http_api/serviceaccount.md @@ -445,10 +445,13 @@ Content-Type: application/json Authorization: Basic YWRtaW46YWRtaW4= { - "name": "grafana" + "name": "grafana", + "secondsToLive": 604800 } ``` +Default value for the `secondsToLive` is 0, which means that the service account token will never expire. + **Example Response**: ```http