Delete a project with high number of deployments workaround is failing

I'm trying to delete a project by following this guide https://developers.cloudflare.com/pages/platform/known-issues/#delete-a-project-with-a-high-number-of-deployments But I'm getting authentication errors when running the script. I'm pretty sure I've got the env vars correct. I should use the Global API key from https://dash.cloudflare.com/profile/api-tokens ?
Cloudflare Docs
Known issues | Cloudflare Pages docs
Here are some known bugs and issues with Cloudflare Pages:
2 Replies
Cyb3r-Jak3
Cyb3r-Jak34w ago
That script is designed to use an API token which has Account:Pages:Write
mbirkegaard
mbirkegaardOP3w ago
THANK YOU!
Want results from more Discord servers?
Add your server