I don't think this is an integer array because there are double quotes inside the array. It means that these are string-type numbers. Also, make sure that your query is set to delete multiple records.
Ok, nevermind. I realised that the GUI layout wasn't doing it. The direct SQL query was the way, with the ids joined like "...WHERE id IN ({{ arrayOfIds.join(",") }})". Thanks