How do I erase my apple ID from my iphone which got stolen? I lost my iPhone and it had no password. I'd like to disable my Apple ID on it and wipe it. 

Is there any way to do it if I don't have the phone with me?
Well, if you had Find My iPhone enabled, you can wipe the phone as a whole, or add a passcode.

To do this:


Go to iCloud.com/#find
Sign in
Select your phone from the list of devices
Select either 'lost mode' (add passcode and message to lock screen) or 'erase device' (you can't track your phone anymore if you do this)
Follow the steps outlined by the website. 


In addition, Find My iPhone will show you the GPS location of your phone, which will help you track it. It cannot be disabled without your Apple ID password, and your phone cannot be wiped with it enabled.

If you choose to wipe your phone, nobody will be able to use it without your Apple ID email password

Finally, if your phone is offline, these options will be applied as soon as the phone connects to a network.

I'd highly suggest adding a passcode to your new phone.