remove dead code
Updated the web-api documentation.