Official comment
There is a link between files and workItem called WorkItemAttachmentLink. If you have the ID of this link, you can simply delete it to unlink them.
There are multiple ways to find this link: querying this type directly or using a relation query.
Comment actions