This action deletes attachments from a Workflow work item. For this, you need to implement the HTTP DELETE operation on the Attachment Collection.
To delete attachments from a Workflow work item:
On the SAP Gateway system, go to transaction SPRO, open the SAP Reference IMG and navigate to.
Select the Workflow service.
Choose Call Browser.
Execute a DELETE request on the AttachmentsCollection.
Select the entry you wish to delete.
Execute a DELETE request on the entry's ID.