That's pretty easy to do. I already wrote a function for refreshing the IAM token, so I'd just need

That's pretty easy to do. I already wrote a function for refreshing the IAM token, so I'd just need to use one of these endpoints to update it every 24 hours (to be safe to avoid long lasting connections from expiring).

https://developers.cloudflare.com/api/resources/hyperdrive/subresources/configs/methods/edit/

https://developers.cloudflare.com/api/resources/hyperdrive/subresources/configs/methods/update/

What's the difference between edit and update?
Interact with Cloudflare's products and services via the Cloudflare API
Interact with Cloudflare's products and services via the Cloudflare API
Was this page helpful?