Imported from the Apple Support Forums via the Wayback Machine 🔗
What to do before selling or giving away your iPhone, iPad, or iPod touch - "Use these steps to remove your personal information from a device, even if you don't have it anymore."https://support.apple.com/HT201351
iCloud: Manage your devices in Settings on iCloud.com"If you’re no longer using an iOS device, a Mac, or an Apple TV, you can remove it from your account"