If it works, sell or donate it. If it doesn’t work, you can see if it is worth repairing. If it’s not, recycle it. You can check on your municipality’s website on their waste management page to see if they recycle electronics.
If you do sell, donate, or recycle, make sure there is no data on the drives that you would miss, then wipe it. If you plan on recycling, you can take out the drive and destroy it. Magnets and paper shredders are helpful.
But, isn’t that what APIs do? Why would that get Beeper in legal trouble if they are paying their license fee? I’m not being facetious, genuinely curious.