Update API.md

Small fix for the API doc