You cannot fully disassociate downloaded content from your Xbox Live account—licenses are tied to your gamertag, not the console hardware. However, you can manage local storage and prepare a console for sale or transfer.
Key distinction: Deleting from the console ≠ revoking the license. Your purchases remain yours.