Skip to content

Commit

Permalink
feat: add CreateOrganizationsLimit field to user GET and UPDATE (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasLopes7 authored Jul 24, 2024
1 parent 6e2b5a8 commit 685118c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
1 change: 1 addition & 0 deletions user/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
Expand Down

0 comments on commit 685118c

Please sign in to comment.