Skip to content
Merged
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
8 changes: 4 additions & 4 deletions api/iam/v1alpha1/iam_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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",
Expand Down