Unable to erase APFS SSD from iMac for external use
I have a late 2012 iMac running Catalina. I want to remove the SSD I added a few years ago and use it as an external drive on my air. The drive is formatted apfs and shows up in disk utility as Fusion, then Container 2, then Macintosh HD and Macintosh - Data. Disk utility will not allow me to erase. I have tried several online methods using Terminal commands but none worked. It appears the key is to erase the drive which I cannot do, even booting into recovery mode. Since the iMac is old and display takes ten minutes to show icons, I want to dispose of it but save the SSD. Any suggestions?