Cloudflare redirect ruleset auth error: the permission I couldn't find

I hit a Cloudflare authorisation error while creating a redirect ruleset in Terraform. The error was correct: the token did not have enough rights.