how to restrict api call. There are any references about how to restrict api call in here. you can look below.