Symptom
You have a document with around 200 records attached, for example, and you would like to mass delete these attachments using OData framework.
Environment
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.
Cause
Attachment folder can be deleted, but this is deleting one record only.
Resolution
This is the system expected behavior.
It is not possible to mass delete attachments using OData framework.
See Also
Also, it is not possible to mass delete attachments using Data Workbench.
Frequently Asked Questions on Data Workbench Work Center
Keywords
Mass, Delete, OData, Attachments , KBA , LOD-CRM-INT-API , OData API (C4C Only) , How To