Skip to content

Commit 87910d2

Browse files
mfhodgesbrandonc
andcommitted
Update user.go
Co-authored-by: Brandon Croft <[email protected]>
1 parent 45aeb26 commit 87910d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

user.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ type User struct {
3737
UnconfirmedEmail string `jsonapi:"attr,unconfirmed-email"`
3838
Username string `jsonapi:"attr,username"`
3939
V2Only bool `jsonapi:"attr,v2-only"`
40+
// Deprecated: IsSiteAdmin was deprecated in v202406 and will be removed in a future version of Terraform Enterprise
41+
IsSiteAdmin *bool `jsonapi:"attr,is-site-admin"`
4042
IsAdmin *bool `jsonapi:"attr,is-admin"`
4143
IsSsoLogin *bool `jsonapi:"attr,is-sso-login"`
4244
Permissions *UserPermissions `jsonapi:"attr,permissions"`

0 commit comments

Comments
 (0)