Update api.md
Merge pull request #35 from charliezhang/master

Update api for password reset.