Cloudflare Gateway How to auto update ip script

How to update Cloudflare Gateway IP location via script or other way on Mikrotik for beginner.
Every day I must loing and click to update manually.

Thank.

I actually don’t see an API yet. If you’re able to use DoH you might have an option, otherwise I don’t see any obvious options.