I need to change the default Cloudflare timeout from 100 seconds to 300

Use the API…

“Enterprise customers can increase the 524 timeout up to 6,000 seconds using the Edit zone setting endpoint (proxy_read_timeout setting).”

From this page…