Is there any way around the restriction of an r2 bucket must be empty in order to delete it? I basically need to create a script to delete everything in order to delete the bucket, which is insane to me. The browser only lets me delete 25 items at a time.
It would be really nice if your account's R2 endpoint was also shown/copyable on the R2 token generation page, since you need all three together 99% of the time
Yes, this is intended. The public access button is intended for toggling access to your r2.dev domain, not a custom domain. Custom domains are always public, though you can apply firewall rules/Workers on top to restrict access