Skip to content

Commit

Permalink
feat(iam): remove send_email in UpdateUserPassword (#4438)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jan 17, 2025
1 parent 24169b7 commit 8d66e13
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ USAGE:
scw iam user update-password <user-id ...> [arg=value ...]

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

FLAGS:
-h, --help help for update-password
Expand Down
1 change: 0 additions & 1 deletion docs/commands/iam.md
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,6 @@ scw iam user update-password <user-id ...> [arg=value ...]
|------|---|-------------|
| user-id | Required | ID of the user to update |
| password | Required | The new password |
| send-email | | Whether or not to send an email alerting the user their password has changed |



Expand Down
7 changes: 0 additions & 7 deletions internal/namespaces/iam/v1alpha1/iam_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,13 +737,6 @@ func iamUserUpdatePassword() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "send-email",
Short: `Whether or not to send an email alerting the user their password has changed`,
Required: false,
Deprecated: false,
Positional: false,
},
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
request := args.(*iam.UpdateUserPasswordRequest)
Expand Down

0 comments on commit 8d66e13

Please sign in to comment.