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
This commit is contained in:
Vardan Torosyan 2024-11-15 14:45:48 +01:00 committed by GitHub
parent b324925bd5
commit f31d3f424c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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