From b76e1b3d5d2f4db3e00484ee84e537651be03ad6 Mon Sep 17 00:00:00 2001 From: Noah Feldt Date: Mon, 15 Sep 2025 15:02:20 +0200 Subject: [PATCH] change token type ttl to string --- authentication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentication.go b/authentication.go index 16e6778..d09cb15 100644 --- a/authentication.go +++ b/authentication.go @@ -25,7 +25,7 @@ type AuthCreateTokenRequest struct { NoParent bool `json:"no_parent,omitempty"` NoDefaultPolicy bool `json:"no_default_policy,omitempty"` Renewable bool `json:"renewable,omitempty"` - TTL int `json:"ttl,omitempty"` + TTL string `json:"ttl,omitempty"` Type string `json:"type,omitempty"` EntityAlias string `json:"entity_alias,omitempty"` }