File tree 4 files changed +26
-6
lines changed
scaleway/scaleway/iam/v1alpha1
scaleway-async/scaleway_async/iam/v1alpha1 4 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -584,9 +584,10 @@ async def update_user_password(
584
584
send_email : bool ,
585
585
) -> User :
586
586
"""
587
- :param user_id:
588
- :param password:
589
- :param send_email:
587
+ Update an user's password.
588
+ :param user_id: ID of the user to update.
589
+ :param password: The new password.
590
+ :param send_email: Whether or not to send an email alerting the user their password has changed.
590
591
:return: :class:`User <User>`
591
592
592
593
Usage:
Original file line number Diff line number Diff line change @@ -1856,10 +1856,19 @@ class UpdateSSHKeyRequest:
1856
1856
@dataclass
1857
1857
class UpdateUserPasswordRequest :
1858
1858
user_id : str
1859
+ """
1860
+ ID of the user to update.
1861
+ """
1859
1862
1860
1863
password : str
1864
+ """
1865
+ The new password.
1866
+ """
1861
1867
1862
1868
send_email : bool
1869
+ """
1870
+ Whether or not to send an email alerting the user their password has changed.
1871
+ """
1863
1872
1864
1873
1865
1874
@dataclass
Original file line number Diff line number Diff line change @@ -584,9 +584,10 @@ def update_user_password(
584
584
send_email : bool ,
585
585
) -> User :
586
586
"""
587
- :param user_id:
588
- :param password:
589
- :param send_email:
587
+ Update an user's password.
588
+ :param user_id: ID of the user to update.
589
+ :param password: The new password.
590
+ :param send_email: Whether or not to send an email alerting the user their password has changed.
590
591
:return: :class:`User <User>`
591
592
592
593
Usage:
Original file line number Diff line number Diff line change @@ -1856,10 +1856,19 @@ class UpdateSSHKeyRequest:
1856
1856
@dataclass
1857
1857
class UpdateUserPasswordRequest :
1858
1858
user_id : str
1859
+ """
1860
+ ID of the user to update.
1861
+ """
1859
1862
1860
1863
password : str
1864
+ """
1865
+ The new password.
1866
+ """
1861
1867
1862
1868
send_email : bool
1869
+ """
1870
+ Whether or not to send an email alerting the user their password has changed.
1871
+ """
1863
1872
1864
1873
1865
1874
@dataclass
You can’t perform that action at this time.
0 commit comments