https://developers.cloudflare.com/pages/platform/api/#deleting-old-deployments-after-a-week
I find it really odd that CF wants to charge me worker time to delete old stuff off their platform.
This should be a build-in feature that is configurable in Settings for the Pages project.
Also, without this feature we can not comply with company data destruction policy.
Please promote this to a feature and make it easier to manage.