In the developer portal that comes from Azure API Management there is a section which contains code examples in different languages on how to call the API.
We would like to remove the JavaScript-section. Is it possible?
Since the code is containing/processing the subscription-key, and it is designed to be executed directly through a web-browser, the subscription-key could potentially be exposed. Thus, we do not want our clients to take this approach. I've tried looking through Microsofts documentation about templates regarding code examples. However, I can only find ways of modifying the actual code snippet, not to remove the actual template.
https://docs.microsoft.com/en-us/azure/api-management/api-management-api-templates#JavaScript
One solution would of course be to rewrite the snippet to become more server-oriented (i.e. Node.js context) but we would prefer to remove the whole template if possible.