Skip to content

Commit a6600c8

Browse files
authored
feat(iam): deprecate UserStatus (scaleway#2654)
1 parent 42f2e1a commit a6600c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/iam/v1alpha1/iam_sdk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,9 +1478,9 @@ type User struct {
14781478
// Deprecated: TwoFactorEnabled: deprecated, use "mfa" instead.
14791479
TwoFactorEnabled *bool `json:"two_factor_enabled,omitempty"`
14801480

1481-
// Status: status of user invitation.
1481+
// Deprecated: Status: status of user invitation.
14821482
// Default value: unknown_status
1483-
Status UserStatus `json:"status"`
1483+
Status *UserStatus `json:"status,omitempty"`
14841484

14851485
// Mfa: defines whether MFA is enabled.
14861486
Mfa bool `json:"mfa"`

0 commit comments

Comments
 (0)