Delete an attachment safelyOnly removes the Attachmented pivot for the requesting context. The physical file and Attachment record are deleted ONLY when no other Attachmented references remain (shared file dedup via md5_hash).API key ability: media:delete.