This forum post should be relevant:
At present, how long attachments are kept after being unlinked from all notes is determined by the "Keep note history for" setting.
This forum post should be relevant:
At present, how long attachments are kept after being unlinked from all notes is determined by the "Keep note history for" setting.