Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scaleway-async/scaleway_async/iam/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,10 @@ async def update_user_password(
send_email: bool,
) -> User:
"""
:param user_id:
:param password:
:param send_email:
Update an user's password.
:param user_id: ID of the user to update.
:param password: The new password.
:param send_email: Whether or not to send an email alerting the user their password has changed.
:return: :class:`User <User>`

Usage:
Expand Down
9 changes: 9 additions & 0 deletions scaleway-async/scaleway_async/iam/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,10 +1856,19 @@ class UpdateSSHKeyRequest:
@dataclass
class UpdateUserPasswordRequest:
user_id: str
"""
ID of the user to update.
"""

password: str
"""
The new password.
"""

send_email: bool
"""
Whether or not to send an email alerting the user their password has changed.
"""


@dataclass
Expand Down
7 changes: 4 additions & 3 deletions scaleway/scaleway/iam/v1alpha1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,10 @@ def update_user_password(
send_email: bool,
) -> User:
"""
:param user_id:
:param password:
:param send_email:
Update an user's password.
:param user_id: ID of the user to update.
:param password: The new password.
:param send_email: Whether or not to send an email alerting the user their password has changed.
:return: :class:`User <User>`

Usage:
Expand Down
9 changes: 9 additions & 0 deletions scaleway/scaleway/iam/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,10 +1856,19 @@ class UpdateSSHKeyRequest:
@dataclass
class UpdateUserPasswordRequest:
user_id: str
"""
ID of the user to update.
"""

password: str
"""
The new password.
"""

send_email: bool
"""
Whether or not to send an email alerting the user their password has changed.
"""


@dataclass
Expand Down