Remove public api endpoints from better auth

Is it possible to remove public api endpoints, so only I can use better auth from my code on server and users are not able to use it?
Was this page helpful?