From a25a53523dd361a5feb9b8d6d7873943e8c4fe63 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 12 Mar 2025 14:04:39 +0000 Subject: [PATCH] feat: update generated APIs --- api/iam/v1alpha1/iam_sdk.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/iam/v1alpha1/iam_sdk.go b/api/iam/v1alpha1/iam_sdk.go index b589d3ea9..7914310cc 100644 --- a/api/iam/v1alpha1/iam_sdk.go +++ b/api/iam/v1alpha1/iam_sdk.go @@ -2243,9 +2243,9 @@ type ListUsersRequest struct { // Tag: filter by tags containing a given string. Tag *string `json:"-"` - // Status: filter by user status. - // Default value: unknown_status - Status UserStatus `json:"-"` + // Type: filter by user type. + // Default value: unknown_type + Type UserType `json:"-"` } // ListUsersResponse: list users response. @@ -2650,7 +2650,7 @@ func (s *API) ListUsers(req *ListUsersRequest, opts ...scw.RequestOption) (*List parameter.AddToQuery(query, "user_ids", req.UserIDs) parameter.AddToQuery(query, "mfa", req.Mfa) parameter.AddToQuery(query, "tag", req.Tag) - parameter.AddToQuery(query, "status", req.Status) + parameter.AddToQuery(query, "type", req.Type) scwReq := &scw.ScalewayRequest{ Method: "GET",