class RepositoryPermissionsJaxrsService {

    @PUT
    @Consumes({"application/collection+xml", "application/collection+json"})
    @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
    public Response updatePermissionsRoot(RepositoryPermissionListWrapper data) throws ErrorDescriptorException {
        return updatePermissions(data, "");
    }

}