how can i remove my i phone i cloud account ?

I llost everything of the phone like icloud,,recovery email etc
now i need to know the i cloud passward ..i need to log out the previous account .
Welcome to iMore! I think you're asking how to remove your iCloud account from your iPhone if you've lost your password and recovery email.

The short answer is you can't remove your iCloud account without a password. However, you should have answered some security questions you set up your account and you can use those to reset your password and the log out once you've done that. Go to http://iforgot.apple.com to get started, and during the process you should see an option to answer security questions rather than send a password reset email.

If you're still having issues you can try contacting Apple Support and they may have some options for you.
If the phone is stolen, you're out of luck. Without the ID info, you have a paperweight.

Original thread: https://forums.imore.com/threads/how-can-i-remove-my-i-phone-i-cloud-account.353916/