Apex
...
Types
Input & Output Types

Types.DeleteAttachmentInput

represents input for deleting attachments using delete attachment docid\ whj5ehhsbwlduvb6y0djt function following contuctors are supported global deleteattachmentinput( string resourceid, string resourcetype, string parentid ) resourceid id of the file/folder resourcetype one of file or folder parentid id of the salesforce record where file/folder is atatched