Refactor bulk_archive and bulk_destroy of APIv3
Fix merging conflicts