Unfortunately that is not supported, arrays are not supported as query params.
You can simply accept a string with users ids separate by comma and parse it in your service operation to extract the user ids.
To be honest, as a user of the API I would find it easier to send the ids as command-separated string than having to type all parameter names one by one.