How to disable or un-whitelist, any whitelisted function

Hi friends,
I wanna disable or un-whitelist some whitelisted core functions. Is there any way to do this?
Thanks in advance

Can anyone help, please?

Try this

https://frappeframework.com/docs/user/en/guides/basics/hooks#override-whitelisted-methods

Thanks for suggestion, but this will be a lot of work to non-whitelist all whitelisted endpoints.
I think this should be a feature request to the Frappe team, to give the ability to turn on and off whitelisted methods from the inside system.