It’s frustrating that someone had a long thread and after multiple back and forth the docs were barely updated with only a sentence or two and it took the support team 10 months to reply. I do not have 10 months to wait as we are launching a product on Netlify and need this working ASAP as advertised in the documentation.
https://answers.netlify.com/t/issues-with-deploying-serverless-functions-using-netlify-api/41540