Skip to content

Commit 8d66e13

Browse files
authored
feat(iam): remove send_email in UpdateUserPassword (scaleway#4438)
1 parent 24169b7 commit 8d66e13

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

cmd/scw/testdata/test-all-usage-iam-user-update-password-usage.golden

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ USAGE:
66
scw iam user update-password <user-id ...> [arg=value ...]
77

88
ARGS:
9-
user-id ID of the user to update
10-
password The new password
11-
[send-email] Whether or not to send an email alerting the user their password has changed
9+
user-id ID of the user to update
10+
password The new password
1211

1312
FLAGS:
1413
-h, --help help for update-password

docs/commands/iam.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,6 @@ scw iam user update-password <user-id ...> [arg=value ...]
11681168
|------|---|-------------|
11691169
| user-id | Required | ID of the user to update |
11701170
| password | Required | The new password |
1171-
| send-email | | Whether or not to send an email alerting the user their password has changed |
11721171

11731172

11741173

internal/namespaces/iam/v1alpha1/iam_cli.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -737,13 +737,6 @@ func iamUserUpdatePassword() *core.Command {
737737
Deprecated: false,
738738
Positional: false,
739739
},
740-
{
741-
Name: "send-email",
742-
Short: `Whether or not to send an email alerting the user their password has changed`,
743-
Required: false,
744-
Deprecated: false,
745-
Positional: false,
746-
},
747740
},
748741
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
749742
request := args.(*iam.UpdateUserPasswordRequest)

0 commit comments

Comments
 (0)