Update api.md

Fix mistake in heading level.