Go to OSX Daily to read How to Remove Old Devices from Apple ID on Mac
If you’ve owned a variety of Apple devices over the years, you may eventually get to a point where you have sold, handed down, or traded away some of those older Macs, iPhones, iPads, or other Apple hardware. Whatever the situation, once a device is no longer in your possession, you should remove the devices you’re no longer using from your Apple account for security reasons. Plus it’s just good practice to clean out devices that are no longer yours so they are not associated with your Apple ID anymore.
Signing in to your Apple ID from a device to take…
Read more: How to Remove Old Devices from Apple ID on Mac