SAP Knowledge Base Article - Public

3324956 - Mass Delete Attachments Using OData Call Is Not Possible


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'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.

See Also

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


SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications 2302