Most of the APIs that I'm familiar with do not allow you to delete multiple objects at the same time, but to perform other operations with several objects with URL parameters, such as ?id=3,6,9 or ? id=3&id=6&id=9 ? id=3&id=6&id=9 . Therefore, it would be quite common to do one of the following:
DELETE /foos?id=3,6,9
or
DELETE /foos?id=3&id=6&id=9
abraham
source share