It does allow for a single integer to be passed (this is how the discourse app does it). Maybe you forgot to add it, but in your example you aren’t passing in a user_id as a param?
The request in curl will look like this:
curl -i -sS -X DELETE "http://127.0.0.1:3000/groups/42/members.json" \
-H "Content-Type: multipart/form-data;" \
-F "api_key=api_key" \
-F "api_username=system" \
-F "user_id=3"
Where “42” is the group_id and “3” is the user_id.
Which returns
{"success":"OK","usernames":["27d52e4065601e0e28e3"]}
I’ll be sure to add to the api docs the comma-delimited endpoint, but the single ID as an integer is still a valid way of removing a single user from a group.
If its a string the ajax call wouldn’t use params[:user_ids] it would use params[:usernames] or params[:user_emails].