If you need to filter the records then delete, you will need to perform two calls. One to the CRM Search endpoint to collect the IDs and then another to the object batch archive endpoint to archive the records.
If you need to filter the records then delete, you will need to perform two calls. One to the CRM Search endpoint to collect the IDs and then another to the object batch archive endpoint to archive the records.