diff --git a/user.go b/user.go index b2b6b1a..18227c3 100644 --- a/user.go +++ b/user.go @@ -35,6 +35,7 @@ type User struct { VerificationAttemptsRemaining *int64 `json:"verification_attempts_remaining"` DeleteSelfEnabled bool `json:"delete_self_enabled"` CreateOrganizationEnabled bool `json:"create_organization_enabled"` + CreateOrganizationsLimit *int `json:"create_organizations_limit,omitempty"` LastActiveAt *int64 `json:"last_active_at"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` diff --git a/user/client.go b/user/client.go index b922247..3e003a2 100644 --- a/user/client.go +++ b/user/client.go @@ -98,6 +98,7 @@ type UpdateParams struct { BackupCodes *[]string `json:"backup_codes,omitempty"` DeleteSelfEnabled *bool `json:"delete_self_enabled,omitempty"` CreateOrganizationEnabled *bool `json:"create_organization_enabled,omitempty"` + CreateOrganizationsLimit *int `json:"create_organizations_limit,omitempty"` // Specified in RFC3339 format CreatedAt *string `json:"created_at,omitempty"` }