Modifing reference list

I have a little problem with bibliography list. I am using APA (no doi) and my university also wants that if there is more than 10 authors, in the bibliography I only present first 2 and the last one. Right now the no doi version does first 6 .... and then the last one.
How can I change it so it does it automatically?
This discussion has been closed.