How To Remove Devices from Your iCloud Account | Maximize the Security of Your iPhone
Use the web to remove a device Sign in to appleid.apple.com, then select Devices. Click the device to see its details, then click “Remove from account.” Review the message that appears. Click again to confirm that you want to remove the device.