There is no command to remove magazine ammo from players inventories only add a new magazine with a specific count, this would be beneficial to mission/mod makers as the only way to remove or add ammo from/to a specific magazine class is to do a loop through all magazine classes of the player, remove the specified magazine once reached and then re-add it with the desired ammo count.