File tree Expand file tree Collapse file tree 6 files changed +0
-24
lines changed
scaleway-async/scaleway_async/iam/v1alpha1
scaleway/scaleway/iam/v1alpha1 Expand file tree Collapse file tree 6 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -630,13 +630,11 @@ async def update_user_password(
630630 * ,
631631 user_id : str ,
632632 password : str ,
633- send_email : bool ,
634633 ) -> User :
635634 """
636635 Update an user's password. Private Beta feature.
637636 :param user_id: ID of the user to update.
638637 :param password: The new password.
639- :param send_email: Whether or not to send an email alerting the user their password has changed.
640638 :return: :class:`User <User>`
641639
642640 Usage:
@@ -645,7 +643,6 @@ async def update_user_password(
645643 result = await api.update_user_password(
646644 user_id="example",
647645 password="example",
648- send_email=False,
649646 )
650647 """
651648
@@ -658,7 +655,6 @@ async def update_user_password(
658655 UpdateUserPasswordRequest (
659656 user_id = user_id ,
660657 password = password ,
661- send_email = send_email ,
662658 ),
663659 self .client ,
664660 ),
Original file line number Diff line number Diff line change @@ -1455,9 +1455,6 @@ def marshal_UpdateUserPasswordRequest(
14551455 if request .password is not None :
14561456 output ["password" ] = request .password
14571457
1458- if request .send_email is not None :
1459- output ["send_email" ] = request .send_email
1460-
14611458 return output
14621459
14631460
Original file line number Diff line number Diff line change @@ -1970,11 +1970,6 @@ class UpdateUserPasswordRequest:
19701970 The new password.
19711971 """
19721972
1973- send_email : bool
1974- """
1975- Whether or not to send an email alerting the user their password has changed.
1976- """
1977-
19781973
19791974@dataclass
19801975class UpdateUserRequest :
Original file line number Diff line number Diff line change @@ -630,13 +630,11 @@ def update_user_password(
630630 * ,
631631 user_id : str ,
632632 password : str ,
633- send_email : bool ,
634633 ) -> User :
635634 """
636635 Update an user's password. Private Beta feature.
637636 :param user_id: ID of the user to update.
638637 :param password: The new password.
639- :param send_email: Whether or not to send an email alerting the user their password has changed.
640638 :return: :class:`User <User>`
641639
642640 Usage:
@@ -645,7 +643,6 @@ def update_user_password(
645643 result = api.update_user_password(
646644 user_id="example",
647645 password="example",
648- send_email=False,
649646 )
650647 """
651648
@@ -658,7 +655,6 @@ def update_user_password(
658655 UpdateUserPasswordRequest (
659656 user_id = user_id ,
660657 password = password ,
661- send_email = send_email ,
662658 ),
663659 self .client ,
664660 ),
Original file line number Diff line number Diff line change @@ -1455,9 +1455,6 @@ def marshal_UpdateUserPasswordRequest(
14551455 if request .password is not None :
14561456 output ["password" ] = request .password
14571457
1458- if request .send_email is not None :
1459- output ["send_email" ] = request .send_email
1460-
14611458 return output
14621459
14631460
Original file line number Diff line number Diff line change @@ -1970,11 +1970,6 @@ class UpdateUserPasswordRequest:
19701970 The new password.
19711971 """
19721972
1973- send_email : bool
1974- """
1975- Whether or not to send an email alerting the user their password has changed.
1976- """
1977-
19781973
19791974@dataclass
19801975class UpdateUserRequest :
You can’t perform that action at this time.
0 commit comments