@@ -36,7 +36,6 @@ type ConfigBodyAuthPost struct {
3636 OidcGroupFilter string `json:"oidc_group_filter,omitempty"`
3737 OidcGroupsClaim string `json:"oidc_groups_claim,omitempty"`
3838 LdapScope int `json:"ldap_scope"`
39- TokenExpiration int `json:"token_expiration,omitempty"`
4039 LdapGroupSearchScope int `json:"ldap_group_search_scope"`
4140 LdapVerifyCert bool `json:"ldap_verify_cert"`
4241 LdapGroupGID string `json:"ldap_group_gid,omitempty"`
@@ -47,6 +46,7 @@ type ConfigBodySystemPost struct {
4746 ProjectCreationRestriction string `json:"project_creation_restriction,omitempty"`
4847 ReadOnly bool `json:"read_only"`
4948 RobotTokenDuration int `json:"robot_token_duration,omitempty"`
49+ TokenExpiration int `json:"token_expiration,omitempty"`
5050 SessionTimeout int `json:"session_timeout,omitempty"`
5151 QuotaPerProjectEnable bool `json:"quota_per_project_enable"`
5252 RobotNamePrefix string `json:"robot_name_prefix,omitempty"`
@@ -186,10 +186,6 @@ type ConfigBodyResponse struct {
186186 Editable bool `json:"editable,omitempty"`
187187 Value int `json:"value,omitempty"`
188188 } `json:"ldap_scope,omitempty"`
189- TokenExpiration struct {
190- Editable bool `json:"editable,omitempty"`
191- Value int `json:"value,omitempty"`
192- } `json:"token_expiration,omitempty"`
193189 LdapGroupSearchScope struct {
194190 Editable bool `json:"editable,omitempty"`
195191 Value int `json:"value,omitempty"`
@@ -210,6 +206,10 @@ type ConfigBodyResponse struct {
210206 Editable bool `json:"editable,omitempty"`
211207 Value int `json:"value,omitempty"`
212208 } `json:"robot_token_duration,omitempty"`
209+ TokenExpiration struct {
210+ Editable bool `json:"editable,omitempty"`
211+ Value int `json:"value,omitempty"`
212+ } `json:"token_expiration,omitempty"`
213213 SessionTimeout struct {
214214 Editable bool `json:"editable,omitempty"`
215215 Value int `json:"value,omitempty"`
0 commit comments