Restrict internal Hotspot users to single MAC using script

Hi,
I create some users in mikrotik routerOS hotspot using external application via API. I want to restrict users to first logged in MAC address. Is there any way for this?