Delete all DHCP-leases every 24 hours

I want that my hotspots automatic delete all the DHCP-leases every 24 hours.
Can you help me please?
Thanks

You want to create IP conflicts deliberately? :slight_smile:

No, the access points are down at the night.
Thanks for your reply.

/system scheduler
add interval=1d name=delete-dhcp-leases on-event="/ip dhcp-server lease remove [find dynamic]" policy=read,write start-date=jun/02/2017 start-time=00:00:00

If you want to delete leases of specific dhcp-server, add filter to [find dynamic] expression, e.g. [find dynamic and server=hotspot]

DHCP leases cannot be revoked once given out. They become the ‘property’ of the client, not the server, until they expire.

Couldn’t you just set lease times to 1 hour?