Minor api.md changes

* fixed json typos
* changed /account/delete to /account/destroy
* fixed error example