Update Cloudflare Zero Trust Location IP4 source address automatically

Is there an easy way to update the Cloudflare Zero trust location ip4 address using dnsomatic? When I try to use the feature I get stuck between invalid header and something about not being able to find the domain. I must have something set incorrectly and cannot find a doc on how to.

I keep trying but cannot figure it out.

That has to be done with an API call:
https://api.cloudflare.com/#zero-trust-gateway-locations-update-zero-trust-gateway-location