diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/api.py b/scaleway-async/scaleway_async/iam/v1alpha1/api.py index fa99e8af5..5141b99b5 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/api.py @@ -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 ` Usage: diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/types.py b/scaleway-async/scaleway_async/iam/v1alpha1/types.py index 1342fa8a3..63d8753df 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/types.py @@ -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 diff --git a/scaleway/scaleway/iam/v1alpha1/api.py b/scaleway/scaleway/iam/v1alpha1/api.py index 67238fc42..5b5758822 100644 --- a/scaleway/scaleway/iam/v1alpha1/api.py +++ b/scaleway/scaleway/iam/v1alpha1/api.py @@ -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 ` Usage: diff --git a/scaleway/scaleway/iam/v1alpha1/types.py b/scaleway/scaleway/iam/v1alpha1/types.py index 1342fa8a3..63d8753df 100644 --- a/scaleway/scaleway/iam/v1alpha1/types.py +++ b/scaleway/scaleway/iam/v1alpha1/types.py @@ -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