How to disable user frosting APIs


I have two servers, an external one with a limited API and an internal administrative one with the full API.
The source code is shared between the projects. One server exposes some APIs and the other others.
The issue is that both expose the full set of UserFrosting common APIs. I want to limit that. Is there a
way to override the standard APIs?