diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/api.py b/scaleway-async/scaleway_async/iam/v1alpha1/api.py index a780d75d..22fd5f25 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/api.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/api.py @@ -630,13 +630,11 @@ async def update_user_password( *, user_id: str, password: str, - send_email: bool, ) -> User: """ Update an user's password. Private Beta feature. :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: @@ -645,7 +643,6 @@ async def update_user_password( result = await api.update_user_password( user_id="example", password="example", - send_email=False, ) """ @@ -658,7 +655,6 @@ async def update_user_password( UpdateUserPasswordRequest( user_id=user_id, password=password, - send_email=send_email, ), self.client, ), diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py b/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py index af585326..37bca3d7 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py @@ -1455,9 +1455,6 @@ def marshal_UpdateUserPasswordRequest( if request.password is not None: output["password"] = request.password - if request.send_email is not None: - output["send_email"] = request.send_email - return output diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/types.py b/scaleway-async/scaleway_async/iam/v1alpha1/types.py index 9dcc6473..ec0b02d7 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/types.py @@ -1970,11 +1970,6 @@ class UpdateUserPasswordRequest: The new password. """ - send_email: bool - """ - Whether or not to send an email alerting the user their password has changed. - """ - @dataclass class UpdateUserRequest: diff --git a/scaleway/scaleway/iam/v1alpha1/api.py b/scaleway/scaleway/iam/v1alpha1/api.py index fc4e0b26..ba81dc28 100644 --- a/scaleway/scaleway/iam/v1alpha1/api.py +++ b/scaleway/scaleway/iam/v1alpha1/api.py @@ -630,13 +630,11 @@ def update_user_password( *, user_id: str, password: str, - send_email: bool, ) -> User: """ Update an user's password. Private Beta feature. :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: @@ -645,7 +643,6 @@ def update_user_password( result = api.update_user_password( user_id="example", password="example", - send_email=False, ) """ @@ -658,7 +655,6 @@ def update_user_password( UpdateUserPasswordRequest( user_id=user_id, password=password, - send_email=send_email, ), self.client, ), diff --git a/scaleway/scaleway/iam/v1alpha1/marshalling.py b/scaleway/scaleway/iam/v1alpha1/marshalling.py index af585326..37bca3d7 100644 --- a/scaleway/scaleway/iam/v1alpha1/marshalling.py +++ b/scaleway/scaleway/iam/v1alpha1/marshalling.py @@ -1455,9 +1455,6 @@ def marshal_UpdateUserPasswordRequest( if request.password is not None: output["password"] = request.password - if request.send_email is not None: - output["send_email"] = request.send_email - return output diff --git a/scaleway/scaleway/iam/v1alpha1/types.py b/scaleway/scaleway/iam/v1alpha1/types.py index 9dcc6473..ec0b02d7 100644 --- a/scaleway/scaleway/iam/v1alpha1/types.py +++ b/scaleway/scaleway/iam/v1alpha1/types.py @@ -1970,11 +1970,6 @@ class UpdateUserPasswordRequest: The new password. """ - send_email: bool - """ - Whether or not to send an email alerting the user their password has changed. - """ - @dataclass class UpdateUserRequest: