when dhcp lease on another router hotspot host address removed

hi dear
I’m sorry for my English language to be weak
I would like to write a code to delete a hotspot user on another router with the same address when the user connects to the DHCP.