Restrict API enpoints to run from specific domain/ip only

Options
Hello,
Is it possible to only allow the use of an endpoint from a specific domain  or ip-adres. maybe with the help of functions?

thank you

Comments