The YAML configuration does not provide a direct option to block specific application URLs like:
/api-doc/ /ws-doc/ /rest-doc/
Those endpoints are served by the Mendix runtime, so URL-level blocking is normally handled at the infrastructure layer:
Hi Saja,
Exposing the Mendix application directly without a web server or web proxy is not a recommended approach and does not align with standard architectural practices. Additionally, the endpoint-blocking requirements you mentioned cannot be implemented without these components in place.
I would recommend reconsidering the architecture for exposing the application to the front end to ensure both security and flexibility in managing access controls.
Even if it is a internal application[ not public facing] having these component to manage traffic is important.
I hope this helps