Backend for group deletion. Allow passing either a group_id in URL or list of ids in request body.