Hotspot - Users delete at 12:00 a.m. (24:00) possible?

Dear experts,
I have a hotspot where users can log in using a ticket / voucher. They are activated for a certain number of hours. This works very well.

Is it possible to get activated hotspot vouchers / users on the day of activation at 12:00 a.m. (24:00) delete? The users only use a hotspot and no user manager (Userman).

I think that only works with a script. Am I right?

If so, can you please give me a tip. I am thankful for every hint.

Many greetings

If I understood properly. You want to delete a user after 24 hours. It requires userman.