Question: what to do when selling a xbox one?
Answer: Open Settings on your Xbox One console.
Scroll down to the System tab.
Select Console info.
Navigate to the Reset console button.
Select the Reset and remove everything option. This will entirely wipe your console to a factory-fresh state.