Open Settings → Security → Connected devices in the web app, choose the device, then Erase…, and confirm with your password.
- The device is signed out at once.
- The next time it connects, the app erases what it kept there: the synchronised folder of a computer, the offline files of a phone.
- The page then shows what was removed.
Before you decide, the dialog tells you if the app on that device is too old to erase anything: such a device is signed out and nothing more. Keep your apps up to date so that this works when you need it. A device that never connects again cannot be told, and the files are deleted, not shredded.
The phone app now also removes the small previews of your pictures and the lists you saw last when you sign out.