You have a document with around 200 records attached, for example, and you would like to mass delete these attachments using OData framework.
SAP Cloud for Customer
Reproducing the Issue
1. Open the Postman or the OData Service Explorer, for example.
2. Run the call, for example: DELETE Delete LeadAttachmentFolder Data https://myXXXXXX.crm.ondemand.com/LeadAttachmentFolderCollection('ObjectID')
3. Only one record is being deleted.
Attachment folder can be deleted, but this is deleting one record only.
This is the system expected behavior.
It is not possible to mass delete attachments using OData framework.
Also, it is not possible to mass delete attachments using Data Workbench.
Frequently Asked Questions on Data Workbench Work Center
Mass, Delete, OData, Attachments , KBA , LOD-CRM-INT-API , OData API (C4C Only) , How To