Jillrefan1986 Said:
"I sold an apple Ipad but forgot to log out of the cloud. The person is trying to log me out of the cloud but is requesting a two authentication number or the password to the account. Is there another way to log out of it?"
-------
Getting Out of iCloud on a Sold Device:
Return this to the buyer. or meet with them in-person. You need to log out of this, with it in front of you. Don't share you credentials for logging in to disassociate it. This is the site you should have used prior to selling it to them: What to do Before you Sell, Give Away, or Trade In your iPhone or iPad - Apple Support